Expand description
CLIENT_SETUP / SERVER_SETUP validation and version negotiation.
Re-exportsยง
use moqtap_codec::draft07::message::ClientSetup;๐use moqtap_codec::draft07::message::ServerSetup;๐use moqtap_codec::draft07::types::Role;๐use moqtap_codec::kvp::KeyValuePair;๐use moqtap_codec::kvp::KvpValue;๐use moqtap_codec::varint::VarInt;๐
Enumsยง
- Setup
Error - Errors from setup message validation or version negotiation.
Constantsยง
- DRAFT_
VERSION ๐ - The version number this module speaks, and the only one it can.
- PATH ๐
- The PATH setup parameter. It is the one setup parameter whose sender this draft restricts, and the restriction runs one way: PATH is the clientโs.
- ROLE ๐
- The ROLE setup parameter, which this draft requires of both endpoints and which draft-08 removes.
Functionsยง
- check_
role ๐ - Hold a setup message to the ROLE rule.
- has_
path ๐ - negotiate_
version - Negotiate a version from the clientโs offered list and the serverโs selected version.
- setup_
varint - Read a varint out of a setup parameter value, whichever shape it arrived in.
- validate_
client_ path_ transport - Refuse a PATH parameter on a session that is not native QUIC.
- validate_
client_ setup - Validate a CLIENT_SETUP message.
- validate_
server_ setup - Validate a SERVER_SETUP message.