[−][src]Trait hyper::net::SslClient
An abstraction to allow any SSL implementation to be used with client-side HttpsStreams.
Associated Types
type Stream: NetworkStream + Send + Clone
The protected stream.
Required Methods
fn wrap_client(&self, stream: T, host: &str) -> Result<Self::Stream>
Wrap a client stream with SSL.
Implementors
impl<S: Ssl> SslClient<HttpStream> for S
[src]
impl<S: Ssl> SslClient<HttpStream> for S
type Stream = <S as Ssl>::Stream
fn wrap_client(&self, stream: HttpStream, host: &str) -> Result<Self::Stream>
[src]
fn wrap_client(&self, stream: HttpStream, host: &str) -> Result<Self::Stream>
impl<T: NetworkStream + Send + Clone> SslClient<T> for OpensslClient
[src]
impl<T: NetworkStream + Send + Clone> SslClient<T> for OpensslClient