Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-30 23:51:48 +08:00
parent 678db34c81
commit acb6bc569e
6 changed files with 106 additions and 72 deletions

View File

@@ -15,6 +15,7 @@ class RetryInterceptor extends Interceptor {
case DioExceptionType.connectionError:
case DioExceptionType.connectionTimeout:
case DioExceptionType.sendTimeout:
case DioExceptionType.unknown:
if ((err.requestOptions.extra['_rt'] ??= 0) < _count) {
Future.delayed(
Duration(