Skip to main content

comment

Function comment 

Source
pub fn comment(payload: &str) -> String
Expand description

Encodes an SSE comment, prefixing every line to prevent frame injection.