RetryPluginConfig

data class RetryPluginConfig(val retryConfig: RetryConfig, val modifyRequestOnRetry: ModifyRequestOnRetry, val retryOnCallPredicate: RetryOnCallPredicate)(source)

Configuration for the KresilRetryPlugin.

Parameters

retryConfig

The configuration for the Kresil Retry mechanism.

modifyRequestOnRetry

A function that modifies the request before each retry.

retryOnCallPredicate

A predicate that determines whether a call should be retried after it has been issued.

Constructors

Link copied to clipboard
constructor(retryConfig: RetryConfig, modifyRequestOnRetry: ModifyRequestOnRetry, retryOnCallPredicate: RetryOnCallPredicate)

Properties