Skip to main content

encode_payload

Function encode_payload 

Source
pub fn encode_payload(level: u16, m: &QueryMeta, name: &str) -> Option<Vec<u8>>
Expand description

Encode a QUERY_PATH/FILE information payload for level from neutral metadata. Returns None for levels this server does not implement — callers translate that to INVALID_PARAMETER.

name is required by the NAME/ALT_NAME levels.