w3c /webtransport
WebTransport is a web API for flexible data transport
★ 994⑂ 61👁 77⑃ 422● 409▤ 0
More from this author
+0
Daily
994
stars
61
forks
77
watchers
422
prs
409
issues
0
releases
README
WebTransport API that allows web applications to establish interactive, bidirectional, multiplexed network connections It fills gaps in the web platform: - Lack of UDP-like networking API - Lack of WebSocket-like API without head-of-line blocking It provides: - Reliable streams - Unreliable datagrams - Encryption and congestion control - An origin-based security model - Bindings for QUIC - Multiplexing with existing HTTP/3 connections - Flexible API that can be extended to other protocols, such as TCP fallback and p2p - Ability to change transport without changing application code It's great for: - sending or receiving high-frequency, small messages that don't need to be reliable (like game state) - sending or receiving low-latency media - transferring files See the explainer for more info. See the proposed spec. Samples Basic Echo - Chicago USA: https://wt-ord.akaleapi.net/echo/ - Amsterdam NL: https://wt-ams.akaleapi.net/echo/ - Source: https://github.com/w3c/webtransport/tree/main/samples/echo WebCodecs Echo - Chicago USA: https://wt-ord.akaleapi.net/webcodecs-echo/ - Amsterdam NL: https://wt-ams.akaleapi.net/webcodecs-echo/ - Source: https://github.com/w3c/webtransport/tree/main/samples/webcodecs-echo
Top issues
#777Support for reading http status code of WebTransport connect requests22 comments · 2026-07-14#511Node.js support for WebTransport18 comments · 2023-05-11#127behavior for close connection when browser reload & close14 comments · 2020-07-14#715Make WebTransportError constructor compatible12 comments · 2026-01-07#712More flexible send orders12 comments · 2025-12-15#516WPT tests are needed for sendOrder7 comments · 2023-05-23#400Can we feed the [[OutgoingDatagramsQueue]] without prematurely resolving write promises?7 comments · 2022-05-24#590Working with servers behind a NAT or on a local network (aka "p2p")6 comments · 2024-02-13