pub fn from_connector_with_config(connector: C, config: HttpConfig) -> Self {
        let mut builder = HyperClient::builder();
        config
            .read_buf_size
            .map(|sz| builder.http1_read_buf_exact_size(sz));
        let inner = builder.build(connector);

        HttpClient { inner }
    }
/// Allows for a custom connector to be used with the HttpClient
/// with extra configuration options
Allows for a custom connector to be used with the HttpClient
with extra configuration options
Allows for a custom connector to be used with the HttpClient with extra configuration options
pub fn from_connector_with_config(connector: C, config: HttpConfig) -> Self {
        let mut builder = HyperClient::builder();
        config
            .read_buf_size
            .map(|sz| builder.http1_read_buf_exact_size(sz));
        let inner = builder.build(connector);
        HttpClient { inner }
    }
pub fn from_connector_with_config ( connector : C , config : HttpConfig ) -> Self { let mut builder = HyperClient :: builder ( ) ; config . read_buf_size . map ( | sz | builder . http1_read_buf_exact_size ( sz ) ) ; let inner = builder . build ( connector ) ; HttpClient { inner } }
Allows for a custom connector to be used with the HttpClient
with extra configuration options
Allows for a custom connector to be used with the HttpClient with extra configuration options
connector
C
config
HttpConfig