Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Response

This Fetch API interface represents the response to a request.

Hierarchy

Index

Properties

body: <internal>.ReadableStream<Uint8Array>
bodyUsed: boolean
ok: boolean
redirected: boolean
status: number
statusText: string
url: string

Methods

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

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

  • Returns <internal>.Response

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

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

Generated using TypeDoc