Skip to main content

extract_session_id

Function extract_session_id 

Source
pub fn extract_session_id(raw: &[u8]) -> Result<Option<&str>>
Expand description

Extract session_id from raw frame bytes without full deserialization. raw starts at the first byte after the 4-byte length prefix (i.e. the msg_type byte). Returns None for Authenticate (which has no session_id).