network_caller_http 1.0.1 copy "network_caller_http: ^1.0.1" to clipboard
network_caller_http: ^1.0.1 copied to clipboard

Production-ready HTTP networking for Flutter. Auto-handles tokens, refresh, retry, logging, and typed errors.

1.0.1 #

  • Widened dependency constraints to support latest versions of http and flutter_secure_storage

1.0.0 #

  • Initial release
  • Full NetworkInterface implementation using package:http
  • SecureTokenStorage backed by flutter_secure_storage with namespaced keys
  • HttpCancelToken for request cancellation
  • Auto token refresh on 401 with Completer-based concurrent lock
  • Retry policy with exponential backoff and Retry-After header support
  • NetworkMiddleware pipeline (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
3
likes
160
points
31
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Production-ready HTTP networking for Flutter. Auto-handles tokens, refresh, retry, logging, and typed errors.

Homepage
Repository (GitHub)
View/report issues

Topics

#networking #http #api #rest #http-client

License

MIT (license)

Dependencies

flutter, flutter_secure_storage, http, network_caller_core

More

Packages that depend on network_caller_http