RetryPolicy

sealed interface RetryPolicy

Defines the retry behavior for failed HTTP requests made by PubgApi.

Use NoRetry to disable retries entirely (the default), or Retry to configure automatic retry logic including max attempts, backoff strategy, and which exceptions should trigger a retry.

See also

Inheritors

Properties

Link copied to clipboard
abstract val enabled: Boolean

Whether retry logic is active.