0.1.5 • Published 8 years ago

any-http-request v0.1.5

Weekly downloads
2
License
Apache-2
Repository
github
Last release
8 years ago

AnyHTTP adapter for Node (request)

AnyHTTP adapter for the Node request HTTP library.

Usage

This adapter is implemented as an ES6 module which can be installed with jspm and loaded via SystemJS as follows:

import {Http} from 'github:argo-rest/any-http-request';

var httpClient = new Http;
httpClient.
  get('https://example.com').
  then(({body, headers}) => {
    console.log("body:", body);
    console.log("content-type:", headers['Content-Type']);
  });
0.1.5

8 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago