TTMSFNCCustomWebSocketServer.SendDataTo Method
Sends binary data to the connections accepted by the selector.
API unit family: TMSFNCWebSocketServer
Declaring type: TTMSFNCCustomWebSocketServer
Syntax
procedure SendDataTo(AData: TBytes; ASelector: TTMSFNCWebSocketSendToCallBack); virtual;
Parameters
| Name | Description |
|---|---|
AData |
The bytes to send. |
ASelector |
A predicate evaluated for each connection; the data is sent only to connections for which it returns True. |