Skip to content

cboden/rx-http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An Rx http server wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published