start_quic_server

Function start_quic_server 

Source
pub async fn start_quic_server(
    state: Arc<AppState>,
    addr: SocketAddr,
    shutdown: Arc<Notify>,
)
Expand description

Start the QUIC/HTTP/3 server on a UDP socket.

Wraps connections in HTTP/3 via h3 and proxies requests through the same axum router as the TCP listener. Shuts down when told to via the Notify.