koi_network 0.0.1
koi_network: ^0.0.1 copied to clipboard
Enterprise-grade network library built on Dio with configurable response parsing, request encoding, token refresh, retry, caching, and adapter-based architecture.
Changelog #
0.0.1 - 2026-03-17 #
Added #
- Initial release of
koi_network - Adapter-based architecture for auth, error handling, loading, and platform
- Configurable response parsing via
KoiResponseParser - Request executor with execute/silent/quick/batch/retry patterns
KoiTypedRequestExecutorfor pre-parsed strong-type responsesKoiTypedResponse<T>for bridging Retrofit/OpenAPI generated models- Typed methods in
KoiNetworkRequestMixin:typedRequest,typedSilentRequest,typedQuickRequest - Typed methods in
NetworkRequestUtils:typedRequest,typedSilentRequest - JWT-based proactive + reactive token refresh interceptor
- Smart retry via
dio_smart_retry - Cache support via
dio_cache_interceptor - Multi-module Dio instance management
KoiNetworkRequestMixinfor controller convenience- Full type-safe generics support
- Comprehensive test suite for typed executor