Trait rocket::http::hyper::net::SslServer [−][src]
An abstraction to allow any SSL implementation to be used with server-side HttpsStreams.
Associated Types
type Stream: NetworkStream + Clone + Send
[src]
The protected stream.
Required methods
pub fn wrap_server(&self, stream: T) -> Result<Self::Stream, Error>
[src]
Wrap a server stream with SSL.
Implementations on Foreign Types
impl SslServer<HttpStream> for TlsServer
type Stream = WrappedStream<ServerSession, HttpStream>
pub fn wrap_server(
&self,
stream: HttpStream
) -> Result<WrappedStream<ServerSession, HttpStream>, Error>
&self,
stream: HttpStream
) -> Result<WrappedStream<ServerSession, HttpStream>, Error>