rx-http-server

    0.2.1 • Public • Published

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

    Keywords

    none

    Install

    npm i rx-http-server

    DownloadsWeekly Downloads

    2

    Version

    0.2.1

    License

    none

    Last publish

    Collaborators

    • josephmoniz