Retry Policy
Retry on transport failures only (connection reset, timeout). API errors are never retried.
Inheritors
Types
Link copied to clipboard
No retry: any transport failure is raised immediately.
Link copied to clipboard
data class OnTransportError(val maxAttempts: Int = 2, val backoff: Duration = 200.milliseconds) : RetryPolicy
Retries a failed request on transport (I/O) failures only, waiting backoff * attempt between attempts.