retryOnCall

fun retryOnCall(block: (request: HttpRequest, response: HttpResponse) -> Boolean)(source)

Configures a predicate to determine if an HTTP call should be retried based on the respective request and response.

See also