[−][src]Trait hyper::net::Ssl
Deprecated
Use SslClient
and SslServer
instead.
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.
fn wrap_server(&self, stream: HttpStream) -> Result<Self::Stream>
Wrap a server stream with SSL.
Implementors
impl Ssl for Openssl
[src]
impl Ssl for Openssl
type Stream = SslStream<HttpStream>
fn wrap_client(&self, stream: HttpStream, host: &str) -> Result<Self::Stream>
[src]
fn wrap_client(&self, stream: HttpStream, host: &str) -> Result<Self::Stream>
fn wrap_server(&self, stream: HttpStream) -> Result<Self::Stream>
[src]
fn wrap_server(&self, stream: HttpStream) -> Result<Self::Stream>