rx-http-server
v0.2.1
Published
An Rx based http server wrapper
Downloads
59
Readme
Rx Http Server
An Rx based http server
Example
var RxHttpServer = require("rx-http-server");
var server = new RxHttpServer();
server.requests.subscribe(function(data) {
data.response.writeHead(200, {"Content-Type": "text/plain"});
data.response.end("Hello from Rx!");
});
server.listen(3000);