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);
void __fastcall SendBytes(const System::Sysutils::TBytes ABytes, const bool AMasked = 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. |