Represents the raw HTTP response object.
Signature:
export interface HttpResponse
Properties
| Property | Type | Description |
|---|---|---|
| data | string | object | The response data payload. |
| headers | { [key: string]: any; } | The HTTP headers of the response. |
| status | number | The HTTP status code of the response. |
HttpResponse.data
The response data payload.
Signature:
data?: string | object;
HttpResponse.headers
The HTTP headers of the response.
Signature:
headers: {
[key: string]: any;
};
HttpResponse.status
The HTTP status code of the response.
Signature:
status: number;