ResponseInterceptorHandler class

Handler for response interceptor.

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(Response response) → void
Continue to call the next response interceptor.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reject(DioError error, [bool callFollowingErrorInterceptor = false]) → void
Complete the request with an error! Other 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) → void
Return the response directly! Other response interceptor(s) will not be executed. response: Response object to return.
toString() String
A string representation of this object.
inherited

Operators

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