Expand description
HTTP client abstraction layer
Provides a unified HTTP request interface with support for:
- Automatic retry mechanism with configurable strategies
- Timeout control per request
- Gzip compression/decompression
- Request and response logging with structured tracing
- Custom headers
- Proxy configuration
- Rate limiting integration
§Observability
This module uses the tracing crate for structured logging. Key events:
- HTTP request initiation with URL and method
- Retry attempts with delay and error cause
- HTTP response status and body preview
- Error details with structured fields
Structs§
- Http
Client - HTTP client with retry and rate limiting support
- Http
Config - HTTP request configuration