Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Response

The Response class as specified by WHATWG

Note: Can only be used when processing requests, not during build-time initialization.

Hierarchy

Properties

body: null | ReadableStream<Uint8Array>
bodyUsed: boolean
headers: Headers
ok: boolean
status: number
statusText: string
url: string

Methods

  • arrayBuffer(): Promise<ArrayBuffer>
  • json(): Promise<any>
  • Returns Promise<any>

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

Generated using TypeDoc