TextData Event
Passes a received chunk of text data to the application.
Syntax
typedef struct { __int64 ConnectionID; String Text; bool Last; } TsbxWebSocketServerTextDataEventParams; typedef void __fastcall (__closure *TsbxWebSocketServerTextDataEvent)(System::TObject* Sender, TsbxWebSocketServerTextDataEventParams *e); __property TsbxWebSocketServerTextDataEvent OnTextData = { read=FOnTextData, write=FOnTextData };
Remarks
The component fires this event repeatedly to pass incoming pieces of text data to the application. The Last parameter indicates that this is the last chunk.