Skip to main content

Module params

Module params 

Source
Expand description

Parameter tables more than one draft shares.

A draft whose parameter handling is its own keeps it in its own fields.rs, which is where all but four of them are. Only drafts 07 through 10 share: one message table across all four, and one setup table across the three that dropped ROLE. Anything reachable from a single draft belongs to that draft, or a build of that draft alone compiles code nothing can call.

Functionsยง

d07_message_param_name ๐Ÿ”’
Known parameter names for draft-07 non-SETUP messages.
d07_msg_is_varint ๐Ÿ”’
Draft-07 message varint parameter keys.
d07_setup_is_varint ๐Ÿ”’
Draft-07 setup varint parameter keys.
d07_setup_param_name ๐Ÿ”’
Known parameter names for draft-07 SETUP messages.
d08_setup_is_varint ๐Ÿ”’
Setup varint parameter keys for drafts 08 through 10.
d08_setup_param_name ๐Ÿ”’
Known parameter names for SETUP messages in drafts 08 through 10.
kvp_to_json_d07
kvp_to_json_d07_inner ๐Ÿ”’
Convert draft-07 KVP list to JSON. In draft-07, all values are length-prefixed bytes. For known varint parameters, decode the bytes as a VarInt.
kvp_to_json_d07_setup
kvp_to_json_d08_setup
The setup parameter list of a draft that dropped ROLE.