via 1.1.0 copy "via: ^1.1.0" to clipboard
via: ^1.1.0 copied to clipboard

A modern, type-safe HTTP client library for Dart/Flutter applications.

Changelog #

All notable changes to this project will be documented in this file.

1.1.0 - 2025-12-20 #

Added #

  • Enhanced ViaPipeline result transformation with covariant support.
  • Improved custom ViaResult subclasses support via pipeline-based type conversion.

Changed #

  • ViaPipeline.onResult now accepts covariant ViaResult to allow type narrowing in custom pipelines.
  • Internal execution flow now allows late casting to the generic result type R.

1.0.0 - 2025-12-20 #

Added #

  • Initial release of the Via HTTP engine.
  • Via class for high-level HTTP operations.
  • ViaExecutor with support for ViaPipeline architecture.
  • Built-in resilience with ViaRetry (automatic retries).
  • Request cancellation support via CancelToken.
  • Type-safe JSON parsing helpers (asMap, asList).
  • Memory-managed ViaCachePipeline (FIFO with maxEntries).
  • Advanced pipelines: ViaLoggerPipeline (with cURL support), ViaDebouncePipeline, ViaThrottlePipeline, and ViaResponseValidatorPipeline.
  • Connection pooling support with shared http.Client.
  • Isolate-based execution support for background processing.
  • errorIf validation in ViaExecutor to treat HTTP responses as errors (defaults to non-2xx).
1
likes
0
points
611
downloads

Publisher

verified publishergece.dev

Weekly Downloads

A modern, type-safe HTTP client library for Dart/Flutter applications.

Repository (GitHub)
View/report issues

Topics

#http #rest #client #json #networking

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on via