fn new_client(&self, stream: S, host: String, scheme: HttpScheme)
            -> ::Result<SimpleClient<Http2Stream<S>>> {
        Ok(try!(SimpleClient::with_connector(Http2Connector {
            stream: stream,
            scheme: scheme,
            host: host,
        })))
    }
/// A private helper method that creates a new `SimpleClient` that will use the given
/// `NetworkStream` to communicate to the remote host.
A private helper method that creates a new `SimpleClient` that will use the given
`NetworkStream` to communicate to the remote host.
A private helper method that creates a new ` SimpleClient ` that will use the given ` NetworkStream ` to communicate to the remote host .
fn new_client(&self, stream: S, host: String, scheme: HttpScheme)
            -> ::Result<SimpleClient<Http2Stream<S>>> {
        Ok(try!(SimpleClient::with_connector(Http2Connector {
            stream: stream,
            scheme: scheme,
            host: host,
        })))
    }
fn new_client ( & self , stream : S , host : String , scheme : HttpScheme ) -> :: Result < SimpleClient < Http2Stream < S > > > { Ok ( try ! ( SimpleClient with_connector ( Http2Connector { stream stream scheme scheme host host } ) ) ) }
A private helper method that creates a new `SimpleClient` that will use the given
`NetworkStream` to communicate to the remote host.
A private helper method that creates a new ` SimpleClient ` that will use the given ` NetworkStream ` to communicate to the remote host .
&self
stream
S
host
String
scheme
HttpScheme
&self
stream
S
host
String
scheme
HttpScheme