Interface Request

interface Request {
    body?: any;
    headers?: HeadersInit;
    method?: "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "GET";
    path: string | URL;
    responseType?: XMLHttpRequestResponseType;
    signal?: AbortSignal;
    timeout?: number;
    withCredentials?: boolean;
}

Hierarchy (view full)

Properties

body?: any
headers?: HeadersInit
method?: "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "GET"
path: string | URL
responseType?: XMLHttpRequestResponseType
signal?: AbortSignal
timeout?: number
withCredentials?: boolean