interface RequestOptions {
    auth?: string | boolean;
    files?: File[];
    form?: FormData;
    headers?: Record<string, string>;
    json?: unknown;
    method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
    path: string;
    priority?: boolean;
    query?: URLSearchParams;
    reason?: string;
    route?: string;
}

Properties

auth?: string | boolean
files?: File[]
form?: FormData
headers?: Record<string, string>
json?: unknown
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH"
path: string
priority?: boolean
query?: URLSearchParams
reason?: string
route?: string