Data Event
Supplies a data chunk received within a POST or PUT upload.
Syntax
class WebSocketServerDataEventParams { public: qint64 ConnectionID(); const QByteArray &Buffer(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void Data(WebSocketServerDataEventParams *e);
// Or, subclass WebSocketServer and override this emitter function. virtual int FireData(WebSocketServerDataEventParams *e) {...}
Remarks
This event is fired to supply another piece of data received within a POST or PUT upload operation. This event may fire multiple times during a single request upload to pass the uploaded data to the application chunk-by-chunk.