web_transport_quinn

Function accept

Source
pub async fn accept(conn: Connection) -> Result<Request, ServerError>
Expand description

Accept a new WebTransport session from a client. Returns a Request which is then used to accept or reject the session based on the URL.