go_http 0.1.1
go_http: ^0.1.1 copied to clipboard
Reliable HTTP client for Dart — built for control, cancellation and consistency.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.1 - 2025-11-13 #
Added #
- Basic example (
example/main.dart) for pub.dev package validation - Makefile with development commands for code analysis, formatting, running examples, and version management
0.1.0 - 2025-01-13 #
Added #
- Basic HTTP client with GET and POST methods
- Request cancellation support via
CancellationToken - Retry policy with decorrelated jitter backoff algorithm
- Interceptors for request/response/error handling
- Built-in
LoggingInterceptorandAuthInterceptor - Cookie store with
MemoryCookieStoreimplementation - Metrics collection with
ConsoleMetricsSink - Cross-platform support (Dart CLI, Flutter, Web)
- IO transport for native platforms
- Web transport for browser platforms
- Redirect policy support
- Type-safe response handling with generics
- Comprehensive error types (
NetworkError,HttpResponseError,TimeoutError,CancellationError)
Security #
- Retries only for idempotent HTTP methods (GET, HEAD, OPTIONS)
- Sensitive headers are masked in logs
- TLS verification enabled by default