TracedHttpOverrides constructor

TracedHttpOverrides({
  1. String nameFor(
    1. String method,
    2. Uri url
    )?,
})

Implementation

TracedHttpOverrides({this.nameFor}) {
  // Let TracedDioInterceptor know this layer is active so Dio
  // requests (which route through dart:io HttpClient on
  // mobile/desktop) are not recorded twice.
  InterceptorCoordination.httpOverridesActive = true;
}