onRequest method
void
onRequest(
- dynamic options,
- dynamic handler
Call this from Dio's onRequest interceptor handler.
Implementation
void onRequest(dynamic options, dynamic handler) {
final key = identityHashCode(options);
_pendingTrackIds[key] = tracker.startApiTracking(
url: options.uri.toString(),
method: options.method,
);
handler.next(options);
}