Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Response

This Fetch API interface represents the response to a request.

Hierarchy

Index

Properties

Readonly body

Readonly bodyUsed

bodyUsed: boolean

Readonly headers

headers: Headers

Readonly ok

ok: boolean

Readonly redirected

redirected: boolean

Readonly status

status: number

Readonly statusText

statusText: string

Readonly trailer

trailer: Promise<Headers>

Readonly type

Readonly url

url: string

Methods

arrayBuffer

blob

  • Returns Promise<Blob>

clone

  • Returns Response

formData

json

  • Returns Promise<any>

text

  • Returns Promise<string>

Generated using TypeDoc