Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFetchResponse

Hierarchy

  • Response
    • IFetchResponse

Index

Properties

Response

Response: object

Type declaration

body

body: ReadableStream | null

bodyUsed

bodyUsed: boolean

headers

headers: Headers

ok

ok: boolean

redirected

redirected: boolean

status

status: number

statusText

statusText: string

type

type: ResponseType

url

url: string

Methods

arrayBuffer

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

blob

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

clone

  • clone(): Response
  • Returns Response

formData

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

json

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

text

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

Generated using TypeDoc