radiator

streaming interface to engine.io for client and server

npm install radiator
4 downloads in the last month

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) {
});
npm loves you