dio_fire_png

Description

Dio's Interceptor implementation that sends http request metric data to Firebase.

Support Dio versions:

  • 4.x
  • 5.0.0

It was forked from repo and all dependencies were updated to the latest version.

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.