Open joshtriplett opened 1 month ago
does the WebTransport on HTTP/2 support datagram (UDP)?
@StinkySteak No; WebTransport over HTTP/2 only supports reliable transport, so the datagram functionality would need to return an error when attempted. This is why browser implementations of WebTransport indicate to JavaScript code using them whether they support unreliable or only reliable transports.
There's a draft standard for WebTransport over HTTP/2. This exists primarily for environments that reject HTTP/3 (e.g. restrictive corporate firewalls).
Please consider adding support for this in the future, to allow using WebTransport in more cases.