@umbraco-cms/backoffice

    Interface XhrRequestOptions

    interface XhrRequestOptions {
        abortSignal?: AbortSignal;
        baseUrl?: string;
        body?: unknown;
        disableNotifications?: boolean;
        headers?: Record<string, string>;
        method: "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT";
        onProgress?: (event: ProgressEvent) => void;
        responseHeader?: string;
        token?: string | (() => undefined | string | Promise<undefined | string>);
        url: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    abortSignal?: AbortSignal

    Signal object to cancel the request.

    baseUrl?: string
    body?: unknown
    disableNotifications?: boolean

    If set to true, the controller will not show any notifications at all.

    false
    
    headers?: Record<string, string>
    method: "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT"
    onProgress?: (event: ProgressEvent) => void
    responseHeader?: string
    token?: string | (() => undefined | string | Promise<undefined | string>)
    url: string
    MMNEPVFCICPMFPCPTTAAATR