Skip to main content

Module setup

Module setup 

Source
Expand description

CLIENT_SETUP / SERVER_SETUP validation and version negotiation.

Enums§

SetupError
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.