0.0.9 • Published 8 years ago

smart-http-client v0.0.9

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

Http-client

##Running Tests: npm install pm2 -g npm test ##Getting Started:

npm i @smarterservices/http-client --save

##Usage: var httpClient = require('http-client');

httpClient(REQUESTOBJECT,function(err,r) {

Console.log('Results returned here!')
});

The first argument passed to httpClient is a request object

####To find what can be passed in to this object look Here

The second argument is the callback for returning the results.

##Configurations

Current version of Http-client supports Retry and PostProcessing

To enable post processing pass in allow into the request object with Must and MustNot Obj.

To change the delay,retry limit or timeout go to config.json in the module folder after installation

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.2

8 years ago