Trait hyper::net::SslServer [] [src]

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

An abstraction to allow any SSL implementation to be used with server-side HttpsStreams.

Associated Types

The protected stream.

Required Methods

Wrap a server stream with SSL.

Implementors