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

    Type Alias HttpResponse<D>

    Defines a HTTP Response with custom data.

    type HttpResponse<D = any> = {
        body: string;
        data: D;
        headers: HttpResponseHeaders;
        ok: boolean;
        status: number;
        statusText: string;
    }

    Type Parameters

    • D = any
    Index

    Properties

    body: string
    data: D
    ok: boolean
    status: number
    statusText: string