Skip to main content

start_server_tls

Function start_server_tls 

Source
pub async fn start_server_tls(
    addr: SocketAddr,
    state: ServerState,
    shutdown: Arc<Notify>,
) -> Result<()>
Expand description

Start the HTTPS server with TLS.

Resolves TLS configuration from the global [tls] section, with optional per-service cert/key overrides. Uses serve_app() for HTTPS or falls back to HTTP.