Skip to content

Dio Interceptor for reporting network metrics to Firebase

License

Notifications You must be signed in to change notification settings

nurture-farm/dio_firebase_performance

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dio_fire_png

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.

About

Dio Interceptor for reporting network metrics to Firebase

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Dart 100.0%