RetryInterceptor class
Retries replayable, eligible operations before their response is delivered. Honors Retry-After; it never retries partially consumed response bodies.
- Implemented types
Constructors
-
RetryInterceptor({RetryOptions? options, double random()?, DateTime clock()?, Future<
void> delay(Duration, CancellationToken)?})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- options → RetryOptions
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
intercept(
HttpRequest request, CancellationToken token, HttpRequestHandler next) → Future< HttpResponse> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited