Trakteer.js
    Preparing search index...

    Interface InternalAxiosRequestConfig<D>

    interface InternalAxiosRequestConfig<D = any> {
        url?: string;
        method?: string;
        baseURL?: string;
        allowAbsoluteUrls?: boolean;
        transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[];
        transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
        params?: any;
        paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer;
        data?: D;
        timeout?: number;
        timeoutErrorMessage?: string;
        withCredentials?: boolean;
        adapter?: AxiosAdapterConfig | AxiosAdapterConfig[];
        auth?: AxiosBasicCredentials;
        responseType?: ResponseType;
        responseEncoding?: string;
        xsrfCookieName?: string;
        xsrfHeaderName?: string;
        onUploadProgress?: (progressEvent: AxiosProgressEvent) => void;
        onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void;
        maxContentLength?: number;
        validateStatus?: ((status: number) => boolean) | null;
        maxBodyLength?: number;
        maxRedirects?: number;
        maxRate?: number | [number, number];
        beforeRedirect?: (
            options: Record<string, any>,
            responseDetails: {
                headers: Record<string, string>;
                statusCode: HttpStatusCode;
            },
        ) => void;
        socketPath?: string
        | null;
        transport?: any;
        httpAgent?: any;
        httpsAgent?: any;
        proxy?: false | AxiosProxyConfig;
        cancelToken?: CancelToken;
        decompress?: boolean;
        transitional?: TransitionalOptions;
        signal?: GenericAbortSignal;
        insecureHTTPParser?: boolean;
        env?: {
            FormData?: new (...args: any[]) => object;
            fetch?: (
                input: string | URL | Request,
                init?: RequestInit,
            ) => Promise<Response>;
            Request?: new (
                input: string | URL | Request,
                init?: RequestInit,
            ) => Request;
            Response?: new (
                body?:
                    | string
                    | ArrayBuffer
                    | Blob
                    | URLSearchParams
                    | FormData
                    | ArrayBufferView<ArrayBufferLike>
                    | null,
                init?: ResponseInit,
            ) => Response;
        };
        formSerializer?: FormSerializerOptions;
        family?: AddressFamily;
        lookup?: | (
            (
                hostname: string,
                options: object,
                cb: (
                    err: Error | null,
                    address: LookupAddress | LookupAddress[],
                    family?: AddressFamily,
                ) => void,
            ) => void
        )
        | (
            (
                hostname: string,
                options: object,
            ) => Promise<
                | LookupAddress
                | [
                    address: LookupAddressEntry
                    | LookupAddressEntry[],
                    family?: AddressFamily,
                ],
            >
        );
        withXSRFToken?:
            | boolean
            | ((config: InternalAxiosRequestConfig) => boolean | undefined);
        parseReviver?: (this: any, key: string, value: any) => any;
        fetchOptions?:
            | Record<string, any>
            | Omit<RequestInit, "headers" | "method" | "signal" | "body">;
        headers: AxiosRequestHeaders;
    }

    Type Parameters

    • D = any

    Hierarchy (View Summary)

    Index

    Properties

    url?: string
    method?: string
    baseURL?: string
    allowAbsoluteUrls?: boolean
    params?: any
    data?: D
    timeout?: number
    timeoutErrorMessage?: string
    withCredentials?: boolean
    responseType?: ResponseType
    responseEncoding?: string
    xsrfCookieName?: string
    xsrfHeaderName?: string
    onUploadProgress?: (progressEvent: AxiosProgressEvent) => void
    onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void
    maxContentLength?: number
    validateStatus?: ((status: number) => boolean) | null
    maxBodyLength?: number
    maxRedirects?: number
    maxRate?: number | [number, number]
    beforeRedirect?: (
        options: Record<string, any>,
        responseDetails: {
            headers: Record<string, string>;
            statusCode: HttpStatusCode;
        },
    ) => void
    socketPath?: string | null
    transport?: any
    httpAgent?: any
    httpsAgent?: any
    proxy?: false | AxiosProxyConfig
    cancelToken?: CancelToken
    decompress?: boolean
    transitional?: TransitionalOptions
    insecureHTTPParser?: boolean
    env?: {
        FormData?: new (...args: any[]) => object;
        fetch?: (
            input: string | URL | Request,
            init?: RequestInit,
        ) => Promise<Response>;
        Request?: new (
            input: string | URL | Request,
            init?: RequestInit,
        ) => Request;
        Response?: new (
            body?:
                | string
                | ArrayBuffer
                | Blob
                | URLSearchParams
                | FormData
                | ArrayBufferView<ArrayBufferLike>
                | null,
            init?: ResponseInit,
        ) => Response;
    }
    formSerializer?: FormSerializerOptions
    family?: AddressFamily
    lookup?:
        | (
            (
                hostname: string,
                options: object,
                cb: (
                    err: Error | null,
                    address: LookupAddress | LookupAddress[],
                    family?: AddressFamily,
                ) => void,
            ) => void
        )
        | (
            (
                hostname: string,
                options: object,
            ) => Promise<
                | LookupAddress
                | [
                    address: LookupAddressEntry
                    | LookupAddressEntry[],
                    family?: AddressFamily,
                ],
            >
        )
    withXSRFToken?:
        | boolean
        | ((config: InternalAxiosRequestConfig) => boolean | undefined)
    parseReviver?: (this: any, key: string, value: any) => any
    fetchOptions?:
        | Record<string, any>
        | Omit<RequestInit, "headers" | "method" | "signal" | "body">