Options
All
  • Public
  • Public/Protected
  • All
Menu

The Response class as specified by WHATWG

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

see

Response on MDN

Hierarchy

  • Response

Implements

Index

Constructors

constructor

Properties

body

body: ReadableStream<any>

bodyUsed

bodyUsed: boolean

headers

headers: Headers

ok

ok: boolean

redirected

redirected: boolean

status

status: number

url

url: string

Methods

arrayBuffer

  • arrayBuffer(): Promise<ArrayBuffer>

json

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

text

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

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Property
  • Method

Generated using TypeDoc