shouldRetry method
Whether to retry the request. Override this method to customize the retry logic.
Implementation
bool shouldRetry(HttpResponse? response, RhttpException? exception) {
return shouldRetryFunc(response, exception);
}
Whether to retry the request. Override this method to customize the retry logic.
bool shouldRetry(HttpResponse? response, RhttpException? exception) {
return shouldRetryFunc(response, exception);
}