centurion-ui
    Preparing search index...

    Interface HTTPNamedParams

    Named parameters for a HTTP request.

    0.13.0

    interface HTTPNamedParams {
        body?: BodyInit;
        credentials?: "omit" | "include" | "same-origin";
        headers?: HeadersInit;
        method?: "GET" | "OPTIONS" | "POST" | "PATCH";
        mode?: "same-origin" | "no-cors" | "cors";
        referrerPolicy?: ReferrerPolicy;
        signal?: AbortSignal;
        url: string;
    }
    Index
    body?: BodyInit

    Body to use for request.

    credentials?: "omit" | "include" | "same-origin"

    Send Credentials with request.

    When set to true credentials will be set to same-orign

    headers?: HeadersInit

    Headers to add to the request.

    method?: "GET" | "OPTIONS" | "POST" | "PATCH"

    HTTP method to use for the request.

    mode?: "same-origin" | "no-cors" | "cors"
    referrerPolicy?: ReferrerPolicy
    signal?: AbortSignal

    Request signal.

    url: string

    URL for the request to be made against.