Skip to content

PyWebTransport

An async-native WebTransport stack


Overview

PyWebTransport implements WebTransport over HTTP/3. It provides a deterministic state machine for streams and datagrams, and delivers peer-initiated connections, sessions, and streams through asynchronous iterators.

Features

  • Sans-I/O Architecture: Ownership-driven Rust state machine and autonomous threaded reactor.
  • Transport Primitives: Full implementation of bidirectional streams, unidirectional streams, and unreliable datagrams.

Interoperability

Infrastructure

Endpoints

  • /echo: Bidirectional stream and datagram reflection.
  • /stats: Current session statistics and negotiated parameters.
  • /webtransport/devious-baton: Devious Baton protocol state transition validation.

API Reference

  • Full Reference: Technical reference for the PyWebTransport public interface.

Community

  • GitHub: Source code and issue tracker.
  • PyPI: Package distribution.

License

Distributed under the terms of the Apache License 2.0. See LICENSE for details.