Companion

object Companion

Functions

Link copied to clipboard

Returns a BackoffStrategy that applies an exponentially (base 2) increasing delay every retry, where base specifies the first delay, and cap specifies the maximum delay.

Link copied to clipboard

Returns a BackoffStrategy that applies a fixed delay every retry.

Link copied to clipboard

Returns a BackoffStrategy that applies a linearly increasing delay every retry, where base specifies the first delay, and cap specifies the maximum delay.

Link copied to clipboard

Returns a BackoffStrategy that applies no delays.

Link copied to clipboard

Returns a BackoffStrategy that gets the delay from the value of response's Retry-After header, or defers to the given BackoffStrategy if no such header exists.