onRequest method
Called before a request is sent
Can modify the request or return a completely new request. The returned request will be used for the actual HTTP call.
request
The original request
Returns the request to be sent (can be modified or replaced)
Implementation
Future<FittorRequest> onRequest(FittorRequest request) async => request;