Appearance
On message hook, you receive a message object containing an incoming message from the client.
message.text()
Get stringified String version of the message.
String
message.bytes()
Get stringified Uint8List version of the message.
Uint8List
message.raw
Message raw data, Types: Uint8List or String.