Documentation / @zerotal/client / index / ResponseContext
Interface: ResponseContext
Defined in: client/src/ApiClient.ts:47
The context passed to onResponse interceptors after a successful (2xx) response.
Properties
status
status:
number
Defined in: client/src/ApiClient.ts:49
HTTP status code of the response.
headers
headers:
Headers
Defined in: client/src/ApiClient.ts:51
Response headers.
data
data:
unknown
Defined in: client/src/ApiClient.ts:53
Parsed response body (JSON-decoded, text, blob/arrayBuffer per responseType, or undefined).
request
request:
RequestConfig
Defined in: client/src/ApiClient.ts:55
The request config after all onRequest interceptors have run.