network_caller_http 1.0.0
network_caller_http: ^1.0.0 copied to clipboard
Production-ready HTTP networking for Flutter. Auto-handles tokens, refresh, retry, logging, and typed errors.
1.0.0 #
- Initial release
- Full
NetworkInterfaceimplementation usingpackage:http SecureTokenStoragebacked byflutter_secure_storagewith namespaced keysHttpCancelTokenfor request cancellation- Auto token refresh on 401 with Completer-based concurrent lock
- Retry policy with exponential backoff and
Retry-Afterheader support NetworkMiddlewarepipeline (onRequest, onResponse, onError)- Per-request timeout override
- Query parameters support
- ResponseType support (JSON, plain text, raw bytes)
- Form URL-encoded body auto-detection
- Multipart file upload with progress callback
- Request/response logging via
NetworkLogger - Error mapping to typed exceptions (SocketException, TimeoutException, HandshakeException, TlsException)
dispose()for resource cleanup- Supports Android, iOS, Web, macOS, Windows, Linux