Umi — API References - v1.3.0
    Preparing search index...

    Type Alias HttpRequest<D>

    Defines a HTTP Request with custom data.

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

    Type Parameters

    • D = any

    Implemented by

    Index

    Properties

    data: D
    maxRedirects?: number
    method: HttpMethod
    timeout?: Milliseconds
    url: string