Interface ResponseLike

Hierarchy

  • Pick<Response, "arrayBuffer" | "bodyUsed" | "headers" | "json" | "ok" | "status" | "statusText" | "text">
    • ResponseLike

Properties

arrayBuffer: (() => Promise<ArrayBuffer>)

Type declaration

    • (): Promise<ArrayBuffer>
    • Returns Promise<ArrayBuffer>

body: null | Readable | ReadableStream<any>
bodyUsed: boolean
headers: Headers
json: (() => Promise<unknown>)

Type declaration

    • (): Promise<unknown>
    • Returns Promise<unknown>

ok: boolean
status: number
statusText: string
text: (() => Promise<string>)

Type declaration

    • (): Promise<string>
    • Returns Promise<string>

Generated using TypeDoc