TTMSFNCWebSocketConnection.SendBytes Method
Sends binary data as a single final binary frame.
API unit family: TMSFNCWebSocketCommon
Declaring type: TTMSFNCWebSocketConnection
Syntax
procedure SendBytes(const ABytes: TBytes; const AMasked: Boolean = False);
Remarks
The handshake must be completed before calling.
Parameters
| Name | Description |
|---|---|
ABytes |
Binary payload to send. |
AMasked |
When True, the payload is masked before sending. Defaults to False. |