Trait hyper::net::SslClient
[−]
[src]
pub trait SslClient { type Stream: NetworkStream + Send + Clone; fn wrap_client(&self, stream: HttpStream, host: &str) -> Result<Self::Stream>; }
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: HttpStream, host: &str) -> Result<Self::Stream>
Wrap a client stream with SSL.