Skip to main content

httpio_client 1.1.0 copy "httpio_client: ^1.1.0" to clipboard
httpio_client: ^1.1.0 copied to clipboard

A powerful, unified Flutter networking package for Dio and http.

1.1.0 #

  • Fixed Multipart Content-Type Issue: HttpNetworkClient no longer forces application/json on multipart requests, ensuring proper multipart/form-data handling.
  • Added Token Management: Exposed setToken(), clearToken(), and token getter on NetworkClient interface for dynamic token updates.
  • Improved Caching System: Added TTL (30-minute default), max size limit (100 entries), LRU eviction, and auth-aware cache keys for security.
  • Enhanced Error Handling: Safe casting with try-catch blocks for generic type conversions to prevent crashes.
  • Fixed Infinite Recursion: Added token refresh limit (max 1 refresh per request) to prevent infinite recursion.
  • Fixed RangeError: Added safe retry delay handling that repeats last delay if maxRetries exceeds retryDelays length.
  • Updated User-Agent: Bumped hardcoded User-Agent from 1.0.0 to 1.1.0.
  • Improved Documentation: Added Token Management section to README.md.
  • Added Tests: Added comprehensive tests for token management functionality.
  • Cleanup: Removed temporary Python files used for DOCX parsing.

1.0.3 #

  • Fixed macOS network connection issues in the example app by adding necessary entitlements.
  • Added "Platform Setup" section to README.md with macOS configuration instructions.

1.0.2 #

  • Added full WASM compatibility for Flutter Web.
  • Introduced HttpioFile for platform-agnostic multipart file uploads.
  • Isolated dart:io usage using conditional imports.
  • Updated example app to display selected client type in response output.
  • Updated README with detailed architecture and feature list.

1.0.1 #

  • Renamed package to httpio_client for better pub.dev compatibility.
  • Added comprehensive dartdoc comments for all public API elements.
  • Improved error handling with specific exception types (ForbiddenException, NotFoundException, ServerException).
  • Added default User-Agent headers to prevent 403 Forbidden errors on some servers.
  • Enhanced logging with structured ApiResponse output and emojis.
  • Fixed header merging logic to ensure global headers correctly override defaults.
  • Improved example app UI with better contrast and styled components.
  • Fixed various linter warnings and improved code quality.

1.0.0 #

  • Initial release of HTTPio.
  • Unified interface for Dio and http clients.
  • Automatic token refresh with concurrent request queuing.
  • Configurable retry logic with exponential backoff.
  • Detailed request/response logging with sensitive data masking.
  • Offline queuing support.
  • Standardized ApiResponse and error handling.
  • Agnostic multipart support for file uploads.
3
likes
0
points
132
downloads

Publisher

verified publishergreelogix.com

Weekly Downloads

A powerful, unified Flutter networking package for Dio and http.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

async, connectivity_plus, dio, flutter, http, logger, path

More

Packages that depend on httpio_client