Interface ExtendedResponse

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

interface ExtendedResponse {
    body: null | ReadableStream<Uint8Array>;
    bodyUsed: boolean;
    error?: string;
    headers: Headers;
    ok: boolean;
    redirected: boolean;
    req?: Quad_Subject;
    responseText?: string;
    size?: number;
    status: number;
    statusText: string;
    timeout?: number;
    type: ResponseType;
    url: string;
    arrayBuffer(): Promise<ArrayBuffer>;
    blob(): Promise<Blob>;
    clone(): Response;
    formData(): Promise<FormData>;
    json(): Promise<any>;
    text(): Promise<string>;
}

Hierarchy

  • Response
    • ExtendedResponse

Properties

body: null | ReadableStream<Uint8Array>
bodyUsed: boolean
error?: string

Used in UpdateManager.updateDav

headers: Headers
ok: boolean
redirected: boolean
req?: Quad_Subject

Identifier of the reqest

responseText?: string

String representation of the Body

size?: number
status: number
statusText: string
timeout?: number
type: ResponseType
url: string

Methods

  • Returns Promise<ArrayBuffer>

  • Returns Promise<Blob>

  • Returns Response

  • Returns Promise<FormData>

  • Returns Promise<any>

  • Returns Promise<string>