Goku
03/15/2021, 7:27 AMGoku
03/15/2021, 10:42 AMthis.install(HttpSend) {
intercept { httpClientCall, httpRequestBuilder ->
println(message = "Request URL: ${httpClientCall.request.url}")
// Some retry strategy logic...
// TODO: ...
if (shouldRetry) {
execute(httpRequestBuilder)
} else {
httpClientCall
}
}
maxSendCount = 10
}
@sushma nayak