pub trait HttpClientFactory: Send + Sync {
// Required method
fn create_client(&self, base_url: &str) -> Box<dyn HttpClient>;
}Expand description
HTTP client factory trait
Used to create HTTP clients with platform-specific implementations.
pub trait HttpClientFactory: Send + Sync {
// Required method
fn create_client(&self, base_url: &str) -> Box<dyn HttpClient>;
}HTTP client factory trait
Used to create HTTP clients with platform-specific implementations.