retryOnExceptionIf

Specifies retry logic for failed requests. The block accepts HttpRequestBuilder and Throwable and should return true if this request should be retried. Note that, to retry on timeout exceptions, HttpTimeout plugin should be installed after HttpRequestRetry.

Report a problem


Function that determines whether a request should be retried based on the exception.

Report a problem