Interface AxiosResponse<T, D>

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

Type Parameters

  • T = any
  • D = any

Properties

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