Skip to main content

parse

Function parse 

Source
pub fn parse(raw: &str) -> Event
Expand description

parse one inbound text frame. unknown / malformed frames become Ignore rather than erroring — a hostile or new server can’t crash the client.