Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ExtendedResponse

An extended interface of Response, since RDFlib.js adds some properties.

Hierarchy

  • Response
    • ExtendedResponse

Index

Properties

Readonly body

body: null | ReadableStream<Uint8Array>

Readonly bodyUsed

bodyUsed: boolean

Optional error

error?: string

Used in UpdateManager.updateDav

Readonly headers

headers: Headers

Readonly ok

ok: boolean

Readonly redirected

redirected: boolean

Optional req

req?: Quad_Subject

Identifier of the reqest

Optional responseText

responseText?: string

String representation of the Body

Optional size

size?: number

Readonly status

status: number

Readonly statusText

statusText: string

Optional timeout

timeout?: number

Readonly type

type: ResponseType

Readonly 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