network_caller_dio 1.0.1
network_caller_dio: ^1.0.1 copied to clipboard
Production-ready Dio networking for Flutter. Auto-handles tokens, refresh, interceptors, retry, and typed errors.
1.0.1 #
- Widened dependency constraints to support latest versions of dio and flutter_secure_storage
1.0.0 #
- Initial release
- Full
NetworkInterfaceimplementation usingpackage:dio SecureTokenStoragebacked byflutter_secure_storagewith namespaced keysDioCancelTokenwrapping Dio's nativeCancelTokenTokenInterceptorwith Completer-based concurrent refresh lock and separate_refreshDioinstanceLoggingInterceptorforwarding toNetworkLogger- Support for custom
extraInterceptors(native DioInterceptors) - Retry policy with exponential backoff and
Retry-Afterheader support - Per-request timeout override
- Query parameters support
- ResponseType mapping to Dio's native
ResponseType - Multipart file upload with
onSendProgresscallback - DioException mapping to typed exceptions (timeout, connection, SSL, cancel, badResponse)
dioInstancegetter for advanced usagedispose()for resource cleanup- Supports Android, iOS, Web, macOS, Windows, Linux