graceful_http_request 1.0.1
graceful_http_request: ^1.0.1 copied to clipboard
A Flutter package that provides standardized HTTP request handling with controlled timing behavior.
Changelog #
All notable changes to this project will be documented in this file.
Maintainer: Moez Shakeri
Repository: https://github.com/moezshakeri/graceful_http_request
1.0.1 - 2026-01-03 #
Added #
- Added dartdoc comments to all public API elements (100% documentation coverage)
- Added Flutter example app demonstrating package usage
- Fixed pub.dev score issues related to documentation and examples
1.0.0 - 2026-01-02 #
Added #
- Initial release of Graceful HTTP Request package
- Core
executefunction with controlled timing behavior Clockabstraction withFakeClockfor testingWaitingStrategyinterface withDefaultWaitingStrategyimplementationGracefulRequestControllerfor request orchestrationGracefulRequestStatemodels for state management- 100% test coverage for public APIs
- Example Flutter app demonstrating fast and slow requests
- Full documentation with usage examples
Features #
- Framework-agnostic design (works with Bloc, Cubit, Provider, Riverpod, etc.)
- HTTP-client-agnostic (works with http, dio, or any other client)
- Deterministic timing with fake clock support
- Proper error handling that preserves timing rules
- No UI dependencies
- Clean architecture following SOLID principles
Documentation #
- Comprehensive README with examples
- Timing diagrams and behavior tables
- Testing guide with fake clock usage
- Example app with Cubit state management