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

Advanced HTTP client for Flutter with authentication, retry logic, and clean architecture.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 2024-01-XX #

Added #

  • Advanced HTTP client with support for all HTTP methods (GET, POST, PUT, DELETE, PATCH, HEAD)
  • Automatic retry logic with exponential backoff
  • Comprehensive error handling with specific exception types
  • Authentication and token management system
  • Automatic token refresh mechanism
  • Secure token storage using SharedPreferences
  • Request and response logging with configurable levels
  • Performance monitoring and metrics
  • Clean architecture implementation with domain-driven design
  • Repository pattern with clear separation of concerns
  • Use cases for business logic encapsulation
  • Network utilities for common operations (pagination, search, filtering)
  • Extensive configuration options
  • Connection pooling and timeout management
  • Network connectivity detection
  • Response transformation capabilities
  • Comprehensive test coverage
  • Detailed documentation and examples

Features #

  • Core Network Client: Full-featured HTTP client with retry logic
  • Authentication System: Complete auth flow with token management
  • Error Handling: Specific exceptions for different HTTP status codes
  • Performance Monitoring: Request duration tracking and categorization
  • Clean Architecture: Domain, data, and core layers with proper separation
  • Developer Tools: Extensive logging and debugging capabilities
  • Utilities: Helper functions for common network operations
  • Customization: Highly configurable with sensible defaults

Dependencies #

  • http: ^1.1.0 - HTTP client
  • logger: ^2.0.1 - Logging functionality
  • shared_preferences: ^2.2.2 - Local storage for tokens

Breaking Changes #

  • None (initial release)

Migration Guide #

  • This is the initial release, no migration needed
1
likes
120
points
39
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Advanced HTTP client for Flutter with authentication, retry logic, and clean architecture.

License

MIT (license)

Dependencies

flutter, http, http_parser, logger, shared_preferences

More

Packages that depend on flutter_network_client