Skip to main content

VERSION_VARINT_PARAMETERS

Constant VERSION_VARINT_PARAMETERS 

Source
const VERSION_VARINT_PARAMETERS: &[u64];
Expand description

The version-specific parameters this draft describes as carrying a single integer.

Section 6.1.1.2 gives DELIVERY TIMEOUT as “the duration in milliseconds” and Section 6.1.1.3 gives MAX CACHE DURATION as “An integer expressing a number of milliseconds”. AUTHORIZATION INFO is “an ASCII string” and is absent for the same reason PATH is.

The two lists are not interchangeable. Setup parameters and version-specific parameters use separate namespaces, and 0x02 is MAX_SUBSCRIBE_ID in one and AUTHORIZATION INFO in the other - applying the setup list to a SUBSCRIBE would refuse every authorization string that is not accidentally a varint.