0.0.2 • Published 9 years ago
rx-http-client v0.0.2
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});