Description
Dio’s Interceptor implementation that sends http request metric data to Firebase.
STATUS: works for us in production.
Usage
final dio = Dio();
final performanceInterceptor = DioFirebasePerformanceInterceptor();
dio.interceptors.add(performanceInterceptor);
SUGGESTION: If you use dio client as a singleton you can use this interceptor as singleton as well.
Comments are closed.