Skip to main content

payload

Function payload 

Source
pub fn payload(message: &[u8]) -> Result<&[u8]>
Expand description

The payload of a binary message. Fails for a message of another type, which the client treats as an invalid message.