Skip to content
André Borchert edited this page Jun 19, 2026 · 64 revisions

WebTransport Current Status

Protocol reference: IETF draft-ietf-webtrans-http3-15, dated 2026-03-02.

Datatracker: https://datatracker.ietf.org/doc/draft-ietf-webtrans-http3/

Implementation Scores

Implementation Current Status Draft-15 Score
Swift Active implementation. Protocol core, public network-backed package API, separate-process CLI, Network.framework QUIC/TLS/HTTP/3 session path, packet-protected QUIC Initial CRYPTO validation, transcript-derived 1-RTT packet keys, explicit TLS/QUIC application-key readiness gating, positive/negative interop conformance scenarios, parser/resource hardening tests, process/stress/artifact/API compatibility tests, three-endpoint external interop proof, macOS Swift CI matrix, sanitized production logging/error surfaces, and reproducibility-checked release packaging are present. 99%
C99 Not implemented. The directory contains documentation only. 0%
C++ (CPP) Not implemented. The directory contains documentation only. 0%

Swift

Swift is the active implementation.

Implemented:

  • Public package product: WebTransport, backed by the Network.framework QUIC/TLS/HTTP/3 runtime. Deprecated demo-only client/server and stream/session types are no longer production API.
  • Network runtime package product: WebTransportNetworkRuntime.
  • CLI products: WebTransportClient and WebTransportServer.
  • Shared CLI conformance harness with 40 scenarios, including positive/negative interop matrices for CONNECT, streams, datagrams, GOAWAY, close/drain, malformed input, and flow-control errors.
  • Deterministic parser/property hardening tests for QPACK, HTTP/3 frames, capsules, QUIC varints, QUIC transport parameters, WebTransport stream prefixes, resource limits, malformed peers, ordering, replay, exhaustion, and close/reset races.
  • Process-level CLI tests for help/list/error/scenario exit codes, IPv4/IPv6 packet loopback, and explicit rejection of unsupported network modes.
  • Concurrent multi-session stress, deterministic soak, datagram load, backpressure, network impairment, and runtime security-negative tests.
  • Release artifact smoke tests and a standalone public API compatibility sample build.
  • External interoperability proof runners via Swift/run-third-party-interop.sh and Swift/run-pywebtransport-interop.sh. The three-endpoint runner launches independent pywebtransport/aioquic, web-transport-quinn, and web-transport-quiche echo endpoints and records QUIC/TLS/HTTP/3 CONNECT plus reliable WebTransport stream echo proofs in Swift/.build/external-interop/third-party-latest.json. Configured public endpoint probing remains available through Swift/run-external-interop.sh.
  • macOS 26 arm64 CI matrix over explicit Xcode 26 toolchains.
  • Sanitized opt-in production logging and public error descriptions that avoid TLS secrets, packet bytes, datagram payloads, raw session IDs, and close reason text.
  • Reproducibility-checked Apple Silicon release artifacts with SHA256SUMS.
  • HTTP/3 frame, SETTINGS, control stream, request stream, GOAWAY, and error mapping logic.
  • WebTransport extended CONNECT session establishment and rejection policy.
  • Structured Fields handling for WT-Protocol and WT-Available-Protocols.
  • QPACK static, literal, Huffman, dynamic table, Base, and post-Base handling covered by tests.
  • WebTransport streams, datagrams, buffering, rejection, close, drain, reset, stop-sending, and flow-control behavior.
  • TLS/QUIC state with application-key readiness gated on certificate trust, CertificateVerify, Finished, ALPN h3, and QUIC transport parameters; QUIC packet protection helpers, transport-parameter codecs, packet-protected QUIC Initial CRYPTO flight validation including Certificate, CertificateVerify, and Finished, transcript-derived 1-RTT packet keys for protected HTTP/3 WebTransport CONNECT/DATAGRAM session probing over UDP, UDP loopback support, and prompt-free identity/trust test paths.
  • Network.framework QUIC/TLS/HTTP/3 runtime path with ALPN h3, QUIC transport-parameter validation, prompt-free certificate handling, and protected HTTP/3 WebTransport CONNECT session probing for separate-process WebTransportClient / WebTransportServer networking, with raw-frame probe compatibility mode for lower-level conformance checks.
  • Apple Silicon release packaging for the CLI products.
  • Test-only local-self-signed trust mode restricted to localhost, 127.0.0.1, and ::1. The runtime default is platform system trust.

Public API surface:

  • WebTransportClientConfiguration and WebTransportServerConfiguration for authority, path, origin, subprotocol policy, trust policy, settings validation, and timeouts.
  • WebTransportEndpoint and WebTransportConnectionResult for network endpoint and session-result values.
  • WebTransportClient, WebTransportServer, and WebTransportListeningServer for Swift concurrency network session establishment, bidirectional streams, datagrams, drain, close, and listener shutdown over the production runtime.
  • WebTransportLogger, WebTransportLogEvent, and WebTransportErrorSurface for redacted production observability.

Known limitation:

  • The Swift implementation is not marked 100% until the external interop matrix is broadened beyond local echo endpoints and includes public Internet or browser endpoints with independent operational ownership.

Useful commands:

swift test --package-path Swift
swift run --package-path Swift WebTransportClient --scenario all
swift run --package-path Swift WebTransportServer --scenario all
swift run --package-path Swift WebTransportServer --listen 127.0.0.1:4433 --transport packet
swift run --package-path Swift WebTransportClient --connect 127.0.0.1:4433 --transport packet
swift run --package-path Swift WebTransportClient
swift run --package-path Swift WebTransportServer
cd Swift && ./build-release-apple-silicon.sh
cd Swift && ./check-api-compatibility.sh
cd Swift && ./run-third-party-interop.sh

C99

The C99 implementation has not started.

Current contents:

  • Documentation only.
  • No C99 protocol source files.
  • No C99 build system.
  • No C99 client/server CLI.
  • No C99 conformance tests.

C++

The C++ implementation has not started.

The implementation directory is named CPP/ to avoid + characters in paths.

Current contents:

  • Documentation only.
  • No C++ protocol source files.
  • No C++ build system.
  • No C++ client/server CLI.
  • No C++ conformance tests.

Clone this wiki locally