Skip to content

Dio Interceptor for reporting network metrics to Firebase

License

Notifications You must be signed in to change notification settings

sezai-yuksel/dio_firebase_performance

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 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

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%