rmapi-js
    Preparing search index...

    Interface PlatformRequest

    one request to make; the url and headers are the whole of it

    interface PlatformRequest {
        body?: Uint8Array<ArrayBufferLike>;
        headers: [string, string][];
        method: "GET" | "PUT" | "POST";
        retryable: boolean;
        statusOnly: boolean;
        url: string;
    }
    Index
    body?: Uint8Array<ArrayBufferLike>

    absent for upload, which sends the body it is given, and for download

    headers: [string, string][]

    the headers to send, authorization included

    method: "GET" | "PUT" | "POST"

    the http method

    retryable: boolean

    whether re-sending it after it produced no answer is safe

    statusOnly: boolean

    whether only the status is wanted: answer with an empty body, and let go of the response once its status has arrived, without reading its body

    url: string

    the full url