WebSocketMessageHandler.onTextMessage

Called when a text message is received.

class WebSocketMessageHandler
void
onTextMessage

Parameters

msg WebSocketTextMessage

The message that was received.