reactormonk
06/27/2025, 8:31 AMAleksei Tirman [JB]
06/27/2025, 9:43 AMretryIf
method to set a condition that determines whether a request should be retried. Here is an example:
val client = HttpClient {
install(HttpRequestRetry) {
retryIf(maxRetries = 10) { request, response ->
request.url.host == "<http://example.com|example.com>"
}
}
}
reactormonk
06/27/2025, 9:44 AM