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

    Interface HttpInterface

    Defines the interface for an HTTP client.

    interface HttpInterface {
        send: <ResponseData, RequestData = any>(
            request: HttpRequest<RequestData>,
        ) => Promise<HttpResponse<ResponseData>>;
    }
    Index

    Properties

    Properties

    send: <ResponseData, RequestData = any>(
        request: HttpRequest<RequestData>,
    ) => Promise<HttpResponse<ResponseData>>

    Sends a HTTP request and returns its response.