Class Res

Hierarchy

  • Response
    • Res

Constructors

Properties

[ON_GLOBAL_DOWNLOAD_PROGRESS]?: ProgressCallback
abortController: AbortController
body: null | ReadableStream<Uint8Array>
bodyUsed: boolean
headers: Headers
meta: Record<string, any>
ok: boolean
onDownloadProgress?: ProgressCallback
redirected: boolean
responseType?: ResponseType
status: number
statusText: string
throwHttpError: boolean
timeout: number
type: ResponseType
url: string

Methods

  • Returns Promise<ArrayBuffer>

  • Returns Promise<Blob>

  • Returns Promise<FormData>

  • Returns Promise<any>

  • Returns Promise<string>

  • Returns Response

  • Parameters

    • data: any
    • Optional init: ResponseInit

    Returns Response

  • Parameters

    • url: string | URL
    • Optional status: number

    Returns Response

Generated using TypeDoc