interceptRequest method
Future<HttpResponse>
interceptRequest(
- ClientType client,
- HttpRequest request,
- Future<
HttpResponse> next()
Called whenever a request is made using a client's HttpHandler.
Plugins that implement this method are not required to call the next
method.
Implementation
Future<HttpResponse> interceptRequest(ClientType client, HttpRequest request, Future<HttpResponse> Function(HttpRequest) next) => next(request);