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>;
}An abstraction to allow any SSL implementation to be used with 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.
fn wrap_server(&self, stream: HttpStream) -> Result<Self::Stream>
Wrap a server stream with SSL.