radiator

0.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i radiator

Weekly Downloads

0

Version

0.0.0

License

none

Last publish

Collaborators

  • defunctzombie