Function hyper_serve::tls_rustls::from_tcp_rustls
source ยท pub fn from_tcp_rustls(
listener: TcpListener,
config: RustlsConfig,
) -> Server<RustlsAcceptor>
Available on crate feature
tls-rustls
only.Expand description
Create a tls server from existing std::net::TcpListener
.