Skip to main content

KNOWN_VERSION_SPECIFIC_PARAMETERS

Constant KNOWN_VERSION_SPECIFIC_PARAMETERS 

Source
const KNOWN_VERSION_SPECIFIC_PARAMETERS: &[u64];
Expand description

Every version-specific parameter type draft-14 names, from Section 9.2.1.

AUTHORIZATION TOKEN (0x03, Section 9.2.1.1), DELIVERY TIMEOUT (0x02, Section 9.2.1.2) and MAX_CACHE_DURATION (0x04, Section 9.2.1.3). Draft-14 publishes no IANA table for these, so the sections are the registry.

The list exists for one rule and one direction. Section 9.2: “Receivers MUST allow duplicates of unknown parameters.” A receiver may therefore refuse a repeat only of a type it can name, and a type outside this list belongs to an extension this codec has no business closing a session over. Nothing else reads it — an unknown parameter is still decoded and carried.