interface HttpRequest<R> {
    body: null | R;
    headers: Record<string, string | string[]>;
    method: string;
    params: Record<string, string | string[]>;
    responseType?: string;
    url: string;
}

Type Parameters

  • R

Properties

body: null | R
headers: Record<string, string | string[]>
method: string
params: Record<string, string | string[]>
responseType?: string
url: string