request-promise-retry
v1.0.0
Published
A retry wrapper above request-promise
Downloads
116
Maintainers
Readme
request-promise-retry
A retry wrapper above request-promise
Usage
const requestPromise = require( 'request-promise' );
const requestPromiseRetry = require( 'request-promise-retry' );
const httpClient = requestPromiseRetry( requestPromise );
const req = {
method: 'GET',
url: 'http://test.org/test'
};
httpClient( req );