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

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

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

Associated Types

type Stream: NetworkStream + Send + Clone

The protected stream.

Required Methods

fn wrap_server(&self, stream: T) -> Result<Self::Stream>

Wrap a server stream with SSL.

Implementors