0.0.2 • Published 9 years ago

rx-http-client v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

Rx HTTP Client

Create HTTP requests from node and process async events using Rx.

Example

var rxGet = require('rx-http-client').getJSON;
var noop = function () {};

rxGet('http://ip.jsontest.com/')
    .doAction(function doesAction(json) {
        console.log('data received!');
        console.log(json);
    })
    .subscribe(noop, function onError(err) {console.error(err), noop});