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.
pub async fn accept(conn: Connection) -> Result<Request, ServerError>
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.