BinaryData Event
Passes a received chunk of binary data to the application.
Syntax
class WebSocketClientBinaryDataEventParams { public: const QByteArray &Buffer(); bool Last(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void BinaryData(WebSocketClientBinaryDataEventParams *e);
// Or, subclass WebSocketClient and override this emitter function. virtual int FireBinaryData(WebSocketClientBinaryDataEventParams *e) {...}
Remarks
The class fires this event repeatedly to pass incoming pieces of binary data to the application. The Last parameter indicates that this is the last chunk.