@nextcloud/files
    Preparing search index...

    Interface Response

    Minimal structural fetch response type, satisfied by both browser (WHATWG) and Node.js implementations.

    interface Response {
        headers: HeadersLike;
        ok: boolean;
        status: number;
        statusText: string;
        url: string;
        arrayBuffer(): Promise<ArrayBuffer>;
        json(): Promise<any>;
        text(): Promise<string>;
    }
    Index
    headers: HeadersLike
    ok: boolean
    status: number
    statusText: string
    url: string
    • Returns Promise<ArrayBuffer>

    • Returns Promise<any>

    • Returns Promise<string>