onRequest method

Future<Request> onRequest(
  1. Request request
)

Called before the request is forwarded down the link chain.

Return the (possibly modified) Request to continue normally.

Implementation

Future<Request> onRequest(Request request) async => request;