falkon 0.1.0
falkon: ^0.1.0 copied to clipboard
A lean, interceptor-driven HTTP client for Dart — built on dart:io with zero third-party dependencies.
0.1.0 - 2026-06-08 #
Added #
FalkonClient— coredart:ioimplementation ofNetworkClientandNetworkTransferClient- Sealed
Result<T>withSuccessandFailurevariants and functional helpers:map,mapAsync,fold,onSuccess,onFailure - Structured exception hierarchy:
HttpException,ParseException,ConnectionException,TimeoutException,UnknownNetworkException - Full HTTP verb support:
GET,POST,PUT,PATCH,DELETE - Interceptor chain with
onRequest,onResponse, andonErrorhooks; supports short-circuit and error recovery - Bundled interceptors:
BearerTokenInterceptor,LoggingInterceptor,RetryInterceptor FalkonClientConfigwith fluent builder APIRequestOptionsfor per-request overrides: base URL, headers, timeout,skipInterceptors- Multipart upload via
NetworkTransferClient.uploadwith chunked streaming andProgressCallback - File download via
NetworkTransferClient.downloadwith direct disk piping andProgressCallback MultipartBodyBuilderinternal utility for RFC 2046 compliant multipart bodiesNetworkServiceandNetworkRepositorybase types for domain-layer architectureJsonParser<T>typedef for strongly-typed response parsing- Zero third-party dependencies —
dart:ioanddart:convertonly