shouldInterceptRequest method
Implementation
@override
Future<HttpClientResponse?> shouldInterceptRequest(HttpClientRequest request) {
HttpClientInterceptor? customHttpClientInterceptor = _customHttpClientInterceptor;
if (customHttpClientInterceptor != null) {
return customHttpClientInterceptor.shouldInterceptRequest(request);
} else {
return Future.value(null);
}
}