InterceptorManager class

Manager for handling interceptors

Constructors

InterceptorManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
interceptors List<Interceptor>
Get all interceptors
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(Interceptor interceptor) → void
Add an interceptor
clear() → void
Clear all interceptors
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processError(AxiosError error) Future<void>
Process an error through all interceptors
processRequest(AxiosRequest request) Future<AxiosRequest>
Process a request through all interceptors
processResponse(AxiosResponse response) Future<AxiosResponse>
Process a response through all interceptors
remove(Interceptor interceptor) → void
Remove an interceptor
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited