BiagioFesta / wtransport

Async-friendly WebTransport implementation in Rust
Apache License 2.0
470 stars 31 forks source link

Please consider supporting WebTransport over http/2 #231

Open joshtriplett opened 1 month ago

joshtriplett commented 1 month ago

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.

StinkySteak commented 3 weeks ago

does the WebTransport on HTTP/2 support datagram (UDP)?

joshtriplett commented 3 weeks ago

@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.