Invoked when a text (type 0x1) message has been received.
0x1
Invoked when a binary (type 0x2) message has been received.
0x2