Interface AxiosResponse<T, D>

interface AxiosResponse<T, D> {
    config: InternalAxiosRequestConfig<D>;
    data: T;
    headers: Partial<RawAxiosHeaders & {
        Cache-Control: AxiosHeaderValue;
        Content-Encoding: AxiosHeaderValue;
        Content-Length: AxiosHeaderValue;
        Content-Type: AxiosHeaderValue;
        Server: AxiosHeaderValue;
    } & {
        set-cookie: string[];
    }> | AxiosResponseHeaders;
    request?: any;
    status: number;
    statusText: string;
}

Type Parameters

  • T = any

  • D = any

Properties

data: T
headers: Partial<RawAxiosHeaders & {
    Cache-Control: AxiosHeaderValue;
    Content-Encoding: AxiosHeaderValue;
    Content-Length: AxiosHeaderValue;
    Content-Type: AxiosHeaderValue;
    Server: AxiosHeaderValue;
} & {
    set-cookie: string[];
}> | AxiosResponseHeaders
request?: any
status: number
statusText: string

Generated using TypeDoc