Skip to main content

redact_ticket

Function redact_ticket 

Source
pub fn redact_ticket(url: &str) -> String
Expand description

Redacts the single-use ticket query param from a Socket Mode WS URL before it’s ever logged (spec §9.6). Leaves the rest of the URL (host, app_id, path) intact since that part isn’t secret and is useful for debugging connection issues.