Type Definitions


Encapsulates the results of a HTTP call into a single object
Name Type Description
error Error An error when applicable
response Object An http.IncomingMessage object
body String | Buffer | Object The response body. Typically a JSON object unless the json option has been set to false, in which case will be either a String or Buffer
jar Object A tough cookie jar
url String The request's original URL
responseTime Number The time taken to make the request (including redirects) at millisecond resolution