RequestInterceptorHandler class
The handler for interceptors to handle before the request has been sent.
Constructors
Properties
-
future
→ Future<
InterceptorState> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCompleted → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
next(
RequestOptions requestOptions) → void -
Deliver the
requestOptions
to the next interceptor. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reject(
DioException error, [bool callFollowingErrorInterceptor = false]) → void -
Completes the request by reject with the
error
as the result. -
resolve(
Response response, [bool callFollowingResponseInterceptor = false]) → void -
Completes the request by resolves the
response
as the result. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited