pub fn encode( id: Option<&str>, event: Option<&str>, data: Option<&str>, ) -> String
Encode a SSE message