falkon 0.1.0 copy "falkon: ^0.1.0" to clipboard
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 — core dart:io implementation of NetworkClient and NetworkTransferClient
  • Sealed Result<T> with Success and Failure variants 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, and onError hooks; supports short-circuit and error recovery
  • Bundled interceptors: BearerTokenInterceptor, LoggingInterceptor, RetryInterceptor
  • FalkonClientConfig with fluent builder API
  • RequestOptions for per-request overrides: base URL, headers, timeout, skipInterceptors
  • Multipart upload via NetworkTransferClient.upload with chunked streaming and ProgressCallback
  • File download via NetworkTransferClient.download with direct disk piping and ProgressCallback
  • MultipartBodyBuilder internal utility for RFC 2046 compliant multipart bodies
  • NetworkService and NetworkRepository base types for domain-layer architecture
  • JsonParser<T> typedef for strongly-typed response parsing
  • Zero third-party dependencies — dart:io and dart:convert only
1
likes
160
points
86
downloads
screenshot

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A lean, interceptor-driven HTTP client for Dart — built on dart:io with zero third-party dependencies.

Repository (GitHub)
View/report issues

Topics

#restapi #http #dio

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on falkon