Skip to main content

KNOWN_SETUP_PARAMETERS

Constant KNOWN_SETUP_PARAMETERS 

Source
const KNOWN_SETUP_PARAMETERS: &[u64];
Expand description

Every setup parameter type draft-14 names, from Section 9.3.2.

PATH (0x01), MAX_REQUEST_ID (0x02), AUTHORIZATION TOKEN (0x03), MAX_AUTH_TOKEN_CACHE_SIZE (0x04) and AUTHORITY (0x05). Section 9.3.2.6 gives MOQT_IMPLEMENTATION the code point 0x05 as well, colliding with AUTHORITY in Section 9.3.2.1; draft-15 moves it to 0x07. The collision does not change the set of code points the draft names, which is all this list is for.

Setup parameters are a separate namespace — Section 9.2.1 says so outright: “since Setup parameters use a separate namespace, it is impossible for these parameters to appear in Setup messages” — so a receiver deciding whether it can name a type has to know which of the two lists to consult.