Data channel associated with the event.
Received payload.
OptionalinfoNever set; raw messages carry no info.
Label of the data channel.
Name of the event.
Peer object containing connection details.
Tells a raw message from a regular one.
Detected type of the payload: text for a string, bytes otherwise.
Emitted when a message is received on a channel with a protocol. The payload arrives as sent, with no stream wrapper.
Example