delayMillis
fun delayMillis(respectRetryAfterHeader: Boolean = true, block: HttpRequestRetry.DelayContext.(retry: Int) -> Long)
Content copied to clipboard
Specifies delay logic for retries. The block accepts the number of retries and should return the number of milliseconds to wait before retrying.