Interface AxiosInterceptorManager<V>

interface AxiosInterceptorManager<V> {
    eject(id): void;
    use<T>(onFulfilled?, onRejected?, options?): number;
}

Type Parameters

  • V

Methods

Methods

  • Parameters

    • id: number

    Returns void

  • Type Parameters

    • T = V

    Parameters

    • Optional onFulfilled: ((value) => T | Promise<T>)
        • (value): T | Promise<T>
        • Parameters

          • value: V

          Returns T | Promise<T>

    • Optional onRejected: ((error) => any)
        • (error): any
        • Parameters

          • error: any

          Returns any

    • Optional options: AxiosInterceptorOptions

    Returns number

Generated using TypeDoc