DefaultRetryHandler<T> class
Null safety
DefaultRetryHandler is used as the default retry backoff mechanism for handling RateLimitExceptions.
- Implemented types
-
- RetryHandler<
T>
- RetryHandler<
Constructors
Properties
Methods
-
getRetryAfter(
Duration? retryAfter) → Duration - Gives back the duration suggested by the API or a Duration based on the number of attempts if no retry headers were provided.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
retry(
Future< T> executor()) → Future<T> -
Implementation of the retry mechanism.
override
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited