Interface AxiosInterceptorManager<V>
interface AxiosInterceptorManager<V> { clear(): void; eject(id: number): void; use( onFulfilled?: null | (value: V) => V | Promise<V>, onRejected?: null | (error: any) => any, options?: AxiosInterceptorOptions, ): number;} Methods
clear
- clear(): void
Returns void
eject
- eject(id: number): void
Returns void
use
- use(
onFulfilled?: null | (value: V) => V | Promise<V>,
onRejected?: null | (error: any) => any,
options?: AxiosInterceptorOptions,
): number Parameters
Optional
onFulfilled: null | (value: V) => V | Promise<V>Optional
onRejected: null | (error: any) => anyOptional
options: AxiosInterceptorOptions
Returns number