Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 517 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 517 Bytes

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.