pub fn load_rustls_config<P: AsRef<Path>>(
cert: P,
key: P,
) -> Result<ServerConfig>Available on crate features
utils and rustls only.Expand description
Load SSL certificate and key.
pub fn load_rustls_config<P: AsRef<Path>>(
cert: P,
key: P,
) -> Result<ServerConfig>utils and rustls only.Load SSL certificate and key.