[whatwg/fetch] Add a "webtransport" request mode (Issue #1808)

### What is the issue with the Fetch Standard?

To solve https://github.com/w3c/webtransport/issues/625, the idea is to look into reworking [initialize WebTransport over HTTP](https://w3c.github.io/webtransport/#initialize-webtransport-over-http) to call [fetch](https://fetch.spec.whatwg.org/#concept-fetch) from the top.

The way fetch lets [establish a WebSocket connection](https://websockets.spec.whatwg.org/#websocket-opening-handshake) do this seems to involve a dedicated `"websocket"` request [mode](https://fetch.spec.whatwg.org/#concept-request-mode), among other things.

Would a place to start be to define a new `"webtransport"` mode?

cc @vasilvv, @nidhijaju feel free to chime in on what other hooks may be needed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1808
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/1808@github.com>

Received on Wednesday, 5 February 2025 22:35:09 UTC