validate_sse_event

Function validate_sse_event 

Source
pub fn validate_sse_event(event: &str) -> Result<()>
Expand description

Validate SSE event format

Ensures that SSE events conform to the standard format and don’t contain invalid characters that could break the stream.