Skip to main content

parse_hermes_session_key

Function parse_hermes_session_key 

Source
pub fn parse_hermes_session_key(
    key: &str,
) -> Option<(SurfaceKey, Option<String>)>
Expand description

Parse a Hermes gateway session key (agent:<profile|main>:<platform>:<chat_type>[:<chat_id>][:<thread_id>][:<participant>]). Returns the surface and the profile namespace (None for main).