Package-level declarations

Types

Link copied to clipboard

A plugin that enables the client to work through a CircuitBreaker, when the remote service gets overloaded the CircuitBreaker will open and now allow any traffic to pass through.

Link copied to clipboard

Contains HttpRequestSchedule configurations settings.

Link copied to clipboard
data class ModifyRequestContext(val original: HttpRequestBuilder, val lastRetryEventData: RetryEventData)
Link copied to clipboard
Link copied to clipboard
sealed interface RetryEventData

Properties

Link copied to clipboard

A plugin that enables the client to retry failed requests according to arrow.resilience.Schedule. The default retry policy is 3 retries with exponential jitter'ed delay.

Link copied to clipboard

Occurs on request retry.

Functions

Link copied to clipboard
fun HttpRequestBuilder.schedule(block: HttpRequestScheduleConfiguration.() -> Unit)

Configures the HttpRequestSchedule plugin on a per-request level.