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): void
Returns void
use
- use(onFulfilled?, onRejected?, options?): number
Parameters
Optional
onFulfilled: null | ((value: V) => V | Promise<V>)Optional
onRejected: null | ((error: any) => any)Optional
options: AxiosInterceptorOptions
Returns number