Interface: TransportResponse
Defined in: src/core/transport.ts:52
What a Transport resolves with, for ANY HTTP status.
Remarks
request() classifies the status (404 → NoDataError, 400 / 422 →
InvalidParameterError, retryable statuses retried, the rest AssetFetchError); a
transport never does.
Properties
data
data:
unknown
Defined in: src/core/transport.ts:62
Decoded body per TransportRequest.responseType: parsed JSON (or the raw text
when it was not JSON) for "json", a string for "text", an ArrayBuffer for
"arraybuffer".
headers
headers:
Record<string,string>
Defined in: src/core/transport.ts:56
Lower-cased header names. Multiple set-cookie values are joined with "\n".
status
status:
number
Defined in: src/core/transport.ts:54
HTTP status code of the response.
url
url:
string
Defined in: src/core/transport.ts:64
Final URL (after redirects) when the transport knows it, else the request URL.