TextData Event
Passes a received chunk of text data to the application.
Syntax
websocketserver.on('TextData', [callback])
Callback
The 'callback' is called when the 'TextData' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.connectionID e.text e.last
Remarks
The class fires this event repeatedly to pass incoming pieces of text data to the application. The Last parameter indicates that this is the last chunk.