Type alias HttpRequest<D>

HttpRequest<D>: {
    data: D;
    headers: HttpRequestHeaders;
    maxRedirects?: number;
    method: HttpMethod;
    signal?: GenericAbortSignal;
    timeout?: Milliseconds;
    url: string;
}

Defines a HTTP Request with custom data.

Type Parameters

  • D = any

Type declaration

Generated using TypeDoc