Skip to main content

encode_setup_parameters

Function encode_setup_parameters 

Source
fn encode_setup_parameters(
    parameters: &[KeyValuePair],
    buf: &mut impl BufMut,
) -> Result<(), CodecError>
Expand description

Encode the Setup Parameters of a CLIENT_SETUP or SERVER_SETUP message.

The token is in both namespaces from this draft on, so it is held to its structure in both. See encode_parameters for why writing one the reader would refuse is not a way to send it.