nio 0.0.2
nio: ^0.0.2 copied to clipboard
A powerful, developer-friendly networking layer built on top of Dio. Less code, typed results, auto auth refresh, retries, caching — all in one.
0.0.2 #
- Fix pub.dev scoring: point
homepage/repositoryat the real GitHub repo under NIRAL-PANCHAL/nio - Add
issue_trackerURL
0.0.1 #
- Initial release
Nioclient with GET, POST, PUT, PATCH, DELETEgetList<T>for automatic list parsingApiResult<T>sealed class withSuccess/FailureNioErrorwith typedNioErrorTypeand human-readableuserMessage- Auth interceptor: auto token attach + 401 refresh + retry
- Retry interceptor: exponential backoff for network / 5xx errors
- Cache interceptor: in-memory GET caching with TTL
- Logging interceptor: debug-only, auto-redacted auth headers
- Mock support for testing without a server
- File upload with progress tracking
- File download with progress tracking
responseExtractorfor unwrapping server response envelopes- Per-request
NioOptionswith global defaults viaNioConfig