SequentialInterceptor class

An interceptor that queues other interceptors sequentially.

Inheritance

Constructors

SequentialInterceptor.new({required List<Interceptor> interceptors})

Properties

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

Methods

afterResponse(HttpResponse response) Future<InterceptorResult<HttpResponse>>
Called before the response is returned.
override
beforeRequest(HttpRequest request) Future<InterceptorResult<HttpRequest>>
Called before the request is sent.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onError(RhttpException exception) Future<InterceptorResult<RhttpException>>
Called when an exception is thrown.
override
toString() String
A string representation of this object.
inherited

Operators

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