@shortcut/client
    Preparing search index...

    Interface FullRequestParams

    interface FullRequestParams {
        baseUrl?: string;
        body?: unknown;
        cancelToken?: CancelToken;
        credentials?: RequestCredentials;
        dispatcher?: Dispatcher;
        duplex?: "half";
        format?: string | number | symbol;
        headers?: HeadersInit;
        integrity?: string;
        keepalive?: boolean;
        method?: string;
        mode?: RequestMode;
        path: string;
        query?: QueryParamsType;
        redirect?: RequestRedirect;
        referrer?: string;
        referrerPolicy?: ReferrerPolicy;
        secure?: boolean;
        signal?: AbortSignal | null;
        type?: ContentType;
        window?: null;
    }

    Hierarchy

    • Omit<RequestInit, "body">
      • FullRequestParams
    Index

    Properties

    baseUrl?: string

    base url

    body?: unknown

    request body

    cancelToken?: CancelToken

    request cancellation token

    credentials?: RequestCredentials
    dispatcher?: Dispatcher
    duplex?: "half"
    format?: string | number | symbol

    format of response (i.e. response.json() -> format: "json")

    headers?: HeadersInit
    integrity?: string
    keepalive?: boolean
    method?: string
    mode?: RequestMode
    path: string

    request path

    query?: QueryParamsType

    query params

    redirect?: RequestRedirect
    referrer?: string
    referrerPolicy?: ReferrerPolicy
    secure?: boolean

    set parameter to true for call securityWorker for this request

    signal?: AbortSignal | null
    type?: ContentType

    content type of request body

    window?: null