pub fn bind_rustls(
addr: SocketAddr,
config: RustlsConfig,
) -> Server<RustlsAcceptor>
Available on crate feature
tls-rustls
only.Expand description
Helper function to create a TLS server bound to a provided address.
pub fn bind_rustls(
addr: SocketAddr,
config: RustlsConfig,
) -> Server<RustlsAcceptor>
tls-rustls
only.Helper function to create a TLS server bound to a provided address.