Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://w3c.github.io/webtransport/
WebTransport is a web API for flexible data transport
https://w3c.github.io/webtransport/
Last synced: 24 days ago
JSON representation
WebTransport is a web API for flexible data transport
- Host: GitHub
- URL: https://w3c.github.io/webtransport/
- Owner: w3c
- License: other
- Created: 2019-04-17T01:08:10.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-22T14:24:47.000Z (about 2 months ago)
- Last Synced: 2024-11-05T04:51:29.470Z (about 1 month ago)
- Language: Bikeshed
- Homepage: https://w3c.github.io/webtransport/
- Size: 4.48 MB
- Stars: 843
- Watchers: 86
- Forks: 51
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: security-questionnaire.md
Awesome Lists containing this project
- awesome-quic - w3c WebTransport - TRANSPORT 就是这样一个协议,向服务器发送数据和从服务器接收数据。它可以像WebSockets一样使用,但支持多流、单向流、无序传输、可靠以及不可靠传输。 (QUIC Weekly - 20201209期)
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 blockingIt 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 codeIt'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 filesSee the [explainer](https://github.com/wicg/web-transport/blob/master/explainer.md) for more info.
See the [proposed spec](https://wicg.github.io/web-transport/).
# Samples
Basic Echo
- Live: https://webrtc.internaut.com/wt/
- Source: https://github.com/w3c/webtransport/tree/main/samples/echo
WebCodecs Echo
- Live: https://webrtc.internaut.com/wc/wtSender10/
- Source: https://github.com/aboba/wt-demo
- PR: https://github.com/w3c/webtransport/pull/430