common/services/http library

Classes

DioInterceptors
拦截器
HttpService
网络请求服务

Typedefs

OnErrorHandler = Future<String?> Function(DioException err)
OnRequestHandler = Future<bool> Function(RequestOptions options, RequestInterceptorHandler handler)
请求处理拦截器 如返回true则中断后面流程
OnResponseHandler = Future<String?> Function(Response response)
Response统一处理回调