TTMSFNCWebsocketClient.Send Method
Sends raw binary data as one or more frames, splitting it when message splitting is enabled.
API unit family: TMSFNCWebSocketClient
Declaring type: TTMSFNCWebsocketClient
Inherited from: TTMSFNCCustomWebsocketClient
Overloads
Overload 1
Sends raw binary data as one or more frames, splitting it when message splitting is enabled.
procedure Send(ABytes: TBytes); overload;
Parameters
| Name | Description |
|---|---|
ABytes |
The binary payload to send. |
Overload 2
Sends a text message, splitting it across frames when message splitting is enabled.
procedure Send(const AMessage: string); overload;
Parameters
| Name | Description |
|---|---|
AMessage |
The text message to send. |