service_client 0.1.1
service_client: ^0.1.1 copied to clipboard
An http client interface.
Changelog #
All notable changes to this project will be documented in this file.
The format loosely follows Keep a Changelog and the project adheres to Semantic Versioning.
0.1.1 - 2026-01-05 #
Added #
HttpClientExceptionfor handling general HTTP client errors- Request logging for debugging HTTP requests
- Response logging for debugging HTTP responses
- Exception logging for better error tracking
0.1.0 - 2025-12-09 #
Added #
- Initial release of service_client. Main features:
- Flexible HTTP client interface (
HttpServiceClient) - Service configuration with support for base URL, headers, and timeout settings
- Token-based authentication support
- Multiple token storage adapters:
- Memory storage adapter for in-memory token caching
- File storage adapter for persistent token storage
- Service request/response handling
- Exception handling for authentication errors
- Example implementation using JSONPlaceholder API
- Flexible HTTP client interface (