Options
All
  • Public
  • Public/Protected
  • All
Menu

This Fetch API interface represents the response to a request.

Hierarchy

Index

Properties

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

Methods

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

  • blob(): Promise<Blob>
  • Returns Promise<Blob>

  • Returns Response

  • formData(): Promise<FormData>
  • Returns Promise<FormData>

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

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

Generated using TypeDoc