Skip to main content

escape_token

Function escape_token 

Source
pub fn escape_token(token: &str) -> String
Expand description

Escape every NATS-reserved character in a token (see ESCAPES) so it survives being placed in a subject.