# phoenix_wtransport v0.1.0 - API Reference

## Modules

- [PhoenixWebTransport](PhoenixWebTransport.md): WebTransport (HTTP/3 over QUIC) as a transport for Phoenix sockets and
LiveView, with one QUIC stream per LiveView component and
shortest-message-first scheduling.
- [PhoenixWebTransport.Backend](PhoenixWebTransport.Backend.md): Contract for WebTransport server listener backends.
- [PhoenixWebTransport.Cert](PhoenixWebTransport.Cert.md): Development certificate for the WebTransport listener.
- [PhoenixWebTransport.ConnectInfo](PhoenixWebTransport.ConnectInfo.md): Extracts `connect_info` and `auth_token` credentials for `Phoenix.Socket.Transport`
with full parity for non-cookie HTTP/3 WebTransport `CONNECT` upgrades.
- [PhoenixWebTransport.Drainer](PhoenixWebTransport.Drainer.md): Graceful shutdown drainer started after the listener inside
`PhoenixWebTransport.Supervisor`.
- [PhoenixWebTransport.Frame](PhoenixWebTransport.Frame.md): Wire framing shared by the server session layer and the browser transport.
- [PhoenixWebTransport.LaneScheduler](PhoenixWebTransport.LaneScheduler.md): Per-session outbound lane scheduler providing
- [PhoenixWebTransport.LaneSerializer](PhoenixWebTransport.LaneSerializer.md): A `Phoenix.Socket.Serializer` that splits one LiveView `diff` push into
several independently deliverable frames, one per updated component.
- [PhoenixWebTransport.Lanes](PhoenixWebTransport.Lanes.md): Lane bookkeeping shared between `LaneSerializer`, `SessionEngine`, and
`Quic.Session`.
- [PhoenixWebTransport.MemoryBudget](PhoenixWebTransport.MemoryBudget.md): Process-wide cap on outbound parked bytes shared by every WebTransport session.
- [PhoenixWebTransport.Origin](PhoenixWebTransport.Origin.md): Origin validation for WebTransport `CONNECT` upgrades, matching
`Phoenix.Socket.Transport.check_origin/5` semantics.
- [PhoenixWebTransport.Plug](PhoenixWebTransport.Plug.md): Optional Phoenix Endpoint / Router `Plug` for HTTP/3 discovery and
cookie-less WebTransport session token minting.
- [PhoenixWebTransport.Quic.Listener](PhoenixWebTransport.Quic.Listener.md): WebTransport listener on `erlang_quic` (benoitc/erlang_quic), a pure Erlang
QUIC + HTTP/3 stack with zero native build dependencies.
- [PhoenixWebTransport.Quic.Session](PhoenixWebTransport.Quic.Session.md): One WebTransport session on `erlang_quic`, driving a `Phoenix.Socket.Transport`
via `PhoenixWebTransport.SessionEngine` and `PhoenixWebTransport.LaneScheduler`.
- [PhoenixWebTransport.Router](PhoenixWebTransport.Router.md): Introspects `Endpoint.__sockets__/0` (plus explicit `:sockets` / `:socket`
configuration) and routes incoming WebTransport `CONNECT` requests across one
or more Phoenix sockets sharing a single UDP listener.
- [PhoenixWebTransport.SessionEngine](PhoenixWebTransport.SessionEngine.md): Backend-agnostic WebTransport session state machine driving a
`Phoenix.Socket.Transport`.
- [PhoenixWebTransport.Supervisor](PhoenixWebTransport.Supervisor.md): Production supervision tree for a WebTransport listener and its sessions.
- [PhoenixWebTransport.Token](PhoenixWebTransport.Token.md): Signs and verifies short-lived `Phoenix.Token` credentials for bridging
HTTP session state into cookie-less WebTransport connections.

