Expand description
Dedicated listener handlers for multiplexed and upgraded transports.
Functionsยง
- serve_
h2_ connection - Serve an HTTP/2 prior-knowledge or TLS/ALPN listener. Each CONNECT stream
is routed independently while the parent connection continues accepting
unrelated streams. Stream tasks are spawned onto
tasksand cancelled viacancelso shutdown coordination can track and drain live tunnels. - serve_
websocket_ connection - Serve a WebSocket listener. WebSocket listeners use a fixed target because the upgrade request itself carries no proxy CONNECT authority.