NetworkRetryPolicy

data class NetworkRetryPolicy(val maxAttempts: Int = 5, val retryDelayMillis: Long = 500)

How hard Engine tries before reporting a failure.

maxAttempts caps the Edge API requests one Session.next call makes: transport retries and polls of a busy backend share it. retryDelayMillis is the wait before a transport retry, and before a poll when the backend names no delay of its own.

Constructors

Link copied to clipboard
constructor(maxAttempts: Int = 5, retryDelayMillis: Long = 500)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard