interceptor/retry_interceptor library

Classes

RetryInterceptor
An interceptor that will try to send failed request again

Extensions

RequestOptionsRetry on RequestOptions

Typedefs

RetryEvaluator = FutureOr<bool> Function(DioException error, int attempt)
============================================================== 拦截器:网络请求失败后重试
ToNoInternetPageNavigator = Future<void> Function()