service_client 0.1.1 copy "service_client: ^0.1.1" to clipboard
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 #

  • HttpClientException for 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
0
likes
150
points
24
downloads

Publisher

verified publisherccisne.dev

Weekly Downloads

An http client interface.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

cryptography, http, path

More

Packages that depend on service_client