RequestInterceptorHandler class Null safety

Handler for request interceptor.

Constructors

RequestInterceptorHandler()

Properties

future Future<InterceptorState>
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
isCompleted bool
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

next(RequestOptions requestOptions) → void
Continue to call the next request interceptor.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
reject(DioError error, [bool callFollowingErrorInterceptor = false]) → void
Complete the request with an error! Other request/response interceptor(s) will not be executed, but error interceptor(s) may be executed, which depends on whether the value of parameter callFollowingErrorInterceptor is true. [...]
resolve(Response response, [bool callFollowingResponseInterceptor = false]) → void
Return the response directly! Other request interceptor(s) will not be executed, but response and error interceptor(s) may be executed, which depends on whether the value of parameter callFollowingResponseInterceptor is true. [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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