Statuses that are retriable, per HTTP spec
Decomposes a retry policy into components that are typically configured individually.
Decomposes a retry policy into components that are typically configured individually.
a function of attempts to an optional
FiniteDuration. Return None to stop retrying, or some
duration after which the request will be retried. See
exponentialBackoff
for a useful implementation.
determines whether the request is retriable
from the request and either the throwable or response that was
returned. Defaults to defaultRetriable
.
Default logic for whether a request is retriable.