Expand description
§HTTP Client Implementation
Provides a robust HTTP client for communicating with the Zhipu AI API. This module implements connection pooling, error handling, and request/response processing.
§Features
- Connection Pooling - Reuses HTTP connections for better performance
- Error Handling - Comprehensive error parsing and reporting
- Authentication - Bearer token authentication support
- Logging - Detailed request/response logging for debugging
§Usage
The HttpClient trait provides a standardized interface for making HTTP requests
to the Zhipu AI API endpoints.
Traits§
- Http
Client - Trait for HTTP clients that communicate with the Zhipu AI API.