OnRequestHandler typedef

OnRequestHandler = Future<bool> Function(RequestOptions options, RequestInterceptorHandler handler)

请求处理拦截器 如返回true则中断后面流程

Implementation

typedef OnRequestHandler = Future<bool> Function(
    RequestOptions options, RequestInterceptorHandler handler);