Skip to content
Pummelchen edited this page Sep 13, 2026 · 64 revisions

WebTransport

WebTransport is an actively developed Swift reference implementation of WebTransport over HTTP/3. It combines a high-level Swift concurrency API with layered protocol modules, command-line peers, conformance tests, and independent interoperability tooling.

Current baseline

Release 1.3.7
Protocol IETF draft-ietf-webtrans-http3-16, published 6 July 2026
Platform macOS 26 or later
Toolchain Xcode 26.6 or later, Swift 6.3.3 or later, Swift language mode 6
Runtime Network.framework QUIC with Apple Security and CryptoKit

The Swift compliance matrix passes in full. The C99/ tree is a second implementation in progress: Phases 0 to 3 of its plan are complete and tested on main -- the build system, the core utilities, the QUIC wire core and crypto layer, a TLS 1.3 handshake that runs end to end, and the packet protection behind it -- and Phase 4, the QUIC connection runtime, is under way: the packet number spaces and their acknowledgements, loss detection and probe timeouts, NewReno, the stream state machines with flow control, QUIC DATAGRAM, the close paths, the packet build/read seam, the IPv4/IPv6 UDP socket layer and the connection runtime over it are in place, with two connections exchanging protected, acknowledged packets over loopback in the tests. The TLS handshake driven over CRYPTO frames, the stream frames, HTTP/3, QPACK and the WebTransport session layer are what remains, so it implements no WebTransport session yet. Its status is tracked at Implementation Status and Project Tracker.

Project intent

The repository is designed to make WebTransport behavior inspectable and testable in Swift:

  • a small application-facing API for clients, listeners, sessions, streams, and datagrams;
  • separate HTTP/3, QUIC, TLS, crypto, and network-runtime layers;
  • explicit malformed-input, flow-control, trust, and lifecycle behavior;
  • reproducible command-line releases and external interoperability evidence.

This is a reference implementation under active development. Review Known Limitations before production adoption.

Start here

Use the package

Understand the implementation

Develop and release

Quick verification

From the repository root:

swift build
swift test
swift run WebTransportClient --scenario all
swift run WebTransportServer --scenario all

Use the security advisory form for private vulnerability reports.

Clone this wiki locally