Skip to main content

parse_session_id

Function parse_session_id 

Source
fn parse_session_id(stdin_payload: &str) -> String
Expand description

Parse session_id out of the PreCompact stdin payload. Malformed or empty input yields an empty string rather than erroring — there is nothing useful to do with the trigger info alone without a session id, but publishing a best-effort ping is still better than silently doing nothing.