pub async fn start_server_secure<P: AsRef<Path> + Send + 'static>(
path: P,
addr: &str,
shutdown_rx: Receiver<()>,
cert_pem: Vec<u8>,
key_pem: Vec<u8>,
) -> Result<(), Box<dyn Error>>Expand description
Start server with TLS using PEM-encoded cert and key.