parse

Function parse 

Source
pub fn parse(payload: &[u8]) -> Result<TextMessage<'_>, ParseError>
Expand description

Decode a text-message payload (after the payload-type byte).