Function axum_server::bind_openssl
source ยท pub fn bind_openssl(
addr: SocketAddr,
config: OpenSSLConfig,
) -> Server<OpenSSLAcceptor>
Available on crate feature
tls-openssl
only.Expand description
Create a TLS server that will be bound to the provided socket with a configuration. See
the crate::tls_openssl
module for more details.