Expand description
CLIENT_SETUP / SERVER_SETUP validation and version negotiation.
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.
Functions§
- 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.