BinaryData Event
Passes a received chunk of binary data to the application.
Syntax
typedef struct { __int64 ConnectionID; DynamicArrayBuffer; bool Last; } TsbxWebSocketServerBinaryDataEventParams; typedef void __fastcall (__closure *TsbxWebSocketServerBinaryDataEvent)(System::TObject* Sender, TsbxWebSocketServerBinaryDataEventParams *e); __property TsbxWebSocketServerBinaryDataEvent OnBinaryData = { read=FOnBinaryData, write=FOnBinaryData };
Remarks
The component fires this event repeatedly to pass incoming pieces of binary data to the application. The Last parameter indicates that this is the last chunk.