pub trait HttpConnector:
Debug
+ Send
+ Sync
+ 'static {
// Required method
fn connect(&self, options: &ClientOptions) -> Result<HttpClient>;
}Expand description
A factory for HttpClient
Required Methods§
Sourcefn connect(&self, options: &ClientOptions) -> Result<HttpClient>
fn connect(&self, options: &ClientOptions) -> Result<HttpClient>
Create a new HttpClient with the provided ClientOptions