radiator
streaming interface to engine.io for client and server
Last updated 8 years ago by shtylman .
Original npm · Tarball · package.json
$ cnpm install radiator 
SYNC missed versions from official npm registry.

radiator

streaming interface to engine.io for client and server

server

var radiator = require('radiator');
var http = require('http');

var server = http.createServer(...);
server.listen(3000);

// create a new stream
var stream = radiator(server, '/foo');

stream.on('data', function(chunk) {
    ...
});

// this won't work until the stream is open
stream.write();

client

var radiator = require('radiator');

var stream = radiator('/foo');

stream.on('data', function(chunk) {
});

Current Tags

  • 0.0.0                                ...           latest (8 years ago)

1 Versions

  • 0.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
  • engine.io git://github.com/LearnBoost/engine.io#150d2b
  • engine.io-client git://github.com/shtylman/engine.io-client#v0.4.1-dz1
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |