http_network_client 1.0.0 copy "http_network_client: ^1.0.0" to clipboard
http_network_client: ^1.0.0 copied to clipboard

A Flutter network package built on Dio with intelligent AES-256 encrypted caching, automatic retry, SSL pinning, file uploads, and type-safe Either error handling.

1.0.0 #

Initial stable release.

  • Dio-based HTTP client (GET, POST, PUT, PATCH, DELETE)
  • AES-256-CBC encrypted, Hive-backed persistent response cache with configurable TTL
  • Automatic offline fallback to cached data on network or connection errors
  • Stale-while-revalidate support via CacheConfig.additionCallback
  • Force-refresh cache with CacheConfig.isToRefresh
  • Automatic request retry with configurable attempt count via RetryConfig
  • SSL/TLS certificate pinning (PEM string or raw bytes)
  • Single and multiple file upload helpers
  • Per-URL request cancellation via cancel tokens
  • Type-safe Either<Response, FailureState> error handling (dartz)
  • Comprehensive HTTP status code handling (200, 201, 400, 401, 403, 404, 406, 422, 429, 500)
  • Removed unused shared_preferences dependency
1
likes
150
points
10
downloads

Documentation

API reference

Publisher

verified publisherjagaranmaharjan.com

Weekly Downloads

A Flutter network package built on Dio with intelligent AES-256 encrypted caching, automatic retry, SSL pinning, file uploads, and type-safe Either error handling.

Homepage

Topics

#networking #http #caching #dio #flutter

License

MIT (license)

Dependencies

crypto, dartz, dio, encrypt, flutter, hive, http_parser, path, path_provider

More

Packages that depend on http_network_client