RetryAfterDelay

class RetryAfterDelay(val interval: Long) : RetryPolicy

RetryAfterDelay signifies that this request can safely be retried, but only after a given time interval, provided in milliseconds.

Parameters

interval

The length of time in milliseconds to delay before retrying.

Constructors

Link copied to clipboard
constructor(interval: Long)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun shouldRetry(): Boolean

This method is used to determine whether or not the request should be retried