2.0.2 • Published 7 years ago

request-easy v2.0.2

Weekly downloads
44
License
AGPL-3.0
Repository
github
Last release
7 years ago

node-request

request-easy is a thin layer ontop of Node.js http(s).request and handels all the little nasty things for you.

options

optiondefaultdescription
retryOnErrornot setretry the request on an Node.js error eg. req.on('error'), res.on('error')
retryOn5xxnot setretry the request on http 5xx status code
maxTriesnot setlimit the retries for a request with http 5xx status code; retryOn5xx has to be true
setContentLengthnot setset the content-length header if you provide a Buffer

handler

on2xx
on3xx
on4xx
on5xx
on6xx

pass data to request

buffer
stream
externalWrite
2.0.2

7 years ago

2.0.1

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.1-2

8 years ago

1.0.1-1

8 years ago

1.0.0-beta1

8 years ago