Interface FetchLikeResponse

The subset of a fetch Response that this package uses.

Hierarchy

  • FetchLikeResponse

Properties

body?: null | FetchResponseBody
headers: FetchHeaders
status: number
statusText?: string

The HTTP status message. It is optional so a minimal injected transport can omit it. The client then reports an empty message for a failed response.

url?: string

The final response URL, after any redirects. A standard fetch response always carries it. The field is optional because a minimal injected transport can omit it; the client then derives the message origin from the request URL.

Generated using TypeDoc