TextData Event
Passes a received chunk of text data to the application.
Syntax
class WebSocketServerTextDataEventParams { public: qint64 ConnectionID(); const QString &Text(); bool Last(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void TextData(WebSocketServerTextDataEventParams *e);
// Or, subclass WebSocketServer and override this emitter function. virtual int FireTextData(WebSocketServerTextDataEventParams *e) {...}
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.