An interface for the result of an API call.
Name | Type | Description |
---|---|---|
request | HttpRequest | Original request that resulted in this response. |
statusCode | number | Response status codee. |
headers | Record<string, string> | Response headers. |
result | T | Response data. |
body | string | Blob | NodeJS.ReadableStream | Original body from the response. |