Feature Request: WebSocket over HTTP/2 (RFC 8441) support
Feature Request: WebSocket over HTTP/2 (RFC 8441) support: a task in LegoFlow-SWE (Harbor dataset). Currently, undici's WebSocket implementation only supports connections over HTTP/1.1. When a client connects using HTTP/2 (i.e., when allowH2: true is set on the dispatcher, e.g., new Agent({…
The task
Currently, undici's WebSocket implementation only supports connections over HTTP/1.1. When a client connects using HTTP/2 (i.e., when `allowH2: true` is set on the dispatcher, e.g., `new Agent({ allowH2: true })`), the WebSocket handshake fails because the HTTP/2 extended CONNECT method (as defined in RFC 8441) is…
Part of Lego-X/LegoFlow-SWE.