HttpResponse Class
A generic wrapper for any Http response returned by a server.
Methods
getHeader
(
-
[headerName]
A function to retrieve headers - a null headerName will return all headers.
Parameters:
-
[headerName]
String optional
Properties
config
Object
The configuration object that was used to generate the request.
data
Object
The response body.
status
Number
HTTP status code of the response.