pub fn finish(self) -> Client {
        let mut connector = self.connector;

        if let Some(val) = self.max_http_version {
            connector = connector.max_http_version(val);
        };
        if let Some(val) = self.conn_window_size {
            connector = connector.initial_connection_window_size(val)
        };
        if let Some(val) = self.stream_window_size {
            connector = connector.initial_window_size(val)
        };

        let config = ClientConfig {
            headers: self.headers,
            timeout: self.timeout,
            connector: Box::new(ConnectorWrapper::new(connector.finish())) as _,
        };

        Client(Rc::new(config))
    }
/// Finish build process and create `Client` instance.
Finish build process and create `Client` instance.
Finish build process and create ` Client ` instance .
pub fn finish(self) -> Client {
        let mut connector = self.connector;
        if let Some(val) = self.max_http_version {
            connector = connector.max_http_version(val);
        };
        if let Some(val) = self.conn_window_size {
            connector = connector.initial_connection_window_size(val)
        };
        if let Some(val) = self.stream_window_size {
            connector = connector.initial_window_size(val)
        };
        let config = ClientConfig {
            headers: self.headers,
            timeout: self.timeout,
            connector: Box::new(ConnectorWrapper::new(connector.finish())) as _,
        };
        Client(Rc::new(config))
    }
pub fn finish ( self ) -> Client { let mut connector = self . connector ; if let Some ( val ) = self . max_http_version { connector = connector . max_http_version ( val ) ; } ; if let Some ( val ) = self . conn_window_size { connector = connector . initial_connection_window_size ( val ) } ; if let Some ( val ) = self . stream_window_size { connector = connector . initial_window_size ( val ) } ; let config = ClientConfig { headers : self . headers , timeout : self . timeout , connector : Box :: new ( ConnectorWrapper :: new ( connector . finish ( ) ) ) as _ , } ; Client ( Rc :: new ( config ) ) }
Finish build process and create `Client` instance.
Finish build process and create ` Client ` instance .
self
self