onMsg

onMsg(msg:           Binary;
      utf8encoded:   Boolean;
      finalFragment: Boolean) updating, protected;

The onMsg method of the JadeWebSocket class is called when the WebSocket receives a message from the client side of the connection. The msg parameter contains the original WebSocket message sent by the client.

The value of the utf8encoded parameter is true if the message contains Unicode text in a UTF8‑encoded format; otherwise the value is false.

The value of the finalFragment parameter is true if the message is the final data fragment sent by the client; otherwise the value is false.

2018.0.01 and higher