Trait hyper::net::Ssl [] [src]

pub trait Ssl {
    type Stream: NetworkStream + Send + Clone;
    fn wrap_client(&self, stream: HttpStream, host: &str) -> Result<Self::Stream>;
    fn wrap_server(&self, stream: HttpStream) -> Result<Self::Stream>;
}

Deprecated

Use SslClient and SslServer instead.

Associated Types

The protected stream.

Required Methods

Wrap a client stream with SSL.

Wrap a server stream with SSL.

Implementors