Skip to content

bciuca/rx-http-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rx HTTP Client

Create HTTP requests from node and process async events using Rx. This is a barebones wrapper for the builtin module, http.

TODO: Migrate to request after issues with Node 0.12 have been resolved.

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published