Terminology
| Term | Meaning |
|---|---|
| Session | A logical connection between one client and one server, identified by a session ID. Survives transport replacement via resumption (§7.8). |
| Anonymous session | A session whose principal has no user ID, including sessions accepted without credentials (§13.3). |
| Transport | The underlying WebTransport session or WebSocket connection carrying a session. |
| Stream | An independent, ordered, bidirectional sequence of frames. On WebTransport, a QUIC stream; on WebSocket, a logical stream multiplexed by stream ID. |
| Control stream | Stream 0. Carries session, notification, channel and (on WebSocket) datagram frames. |
| Call stream | A stream carrying exactly one call (§8). |
| Frame | The protocol’s unit of transmission (§5). |
| Header section | A CBOR map inside a frame carrying protocol fields. |
| Data section | Opaque bytes inside a frame carrying the user payload, encoded with the session codec. |
| Codec | The encoding of data sections: cbor or json (§5.5). |
| Service | A named set of methods, e.g. chat. |
| Server method | A method implemented by the server and invoked by clients. |
| Client method | A method implemented by the client and invoked by the server. |
| Notification | A fire-and-forget method invocation (§9). |
| Group | A server-side, non-durable set of sessions used for targeting. Invisible to the protocol. |
| Channel | A client-visible subscription topic with optional history and presence (§10). |
| Lane | An ordering domain for notifications (§9.2). |
| Contract | The set of services, client methods, channels and datagram topics an endpoint exposes, described by a manifest (§12). |
Layering
Section titled “Layering”+-------------------------------------------------------------+| Contract (manifest, types, codegen) §12 |+------------------+------------------+-----------+-----------+| Calls §8 | Notifications §9 | Channels | Datagrams || | + lanes | §10 | §11 |+------------------+------------------+-----------+-----------+| Session: handshake, heartbeat, auth, resumption, close §7 |+-------------------------------------------------------------+| Streams: IDs, lifecycle, flow control, limits §6 |+-------------------------------------------------------------+| Framing: varints, frames, header/data sections §5 |+------------------------------+------------------------------+| WebTransport binding §4.2 | WebSocket binding §4.3 |+------------------------------+------------------------------+From the specification: §2.1.