Skip to content

headers

Common header management for all protocols

Common Protocol Headers

Fields

FieldTypeDescription
protocolString
versionString
correlation_idString
client_agent_idOption<String>
trace_idOption<String>

Methods

fn from_headers(headers: &HashMap<String, String>) -> Self

Extract protocol headers from raw headers

fn to_headers(&self) -> HashMap<String, String>

Convert to raw headers HashMap