TTMSFNCWebSocketConnection.SendBytesInMultipleFrames Method
Sends binary data split across multiple fragmented frames.
API unit family: TMSFNCWebSocketCommon
Declaring type: TTMSFNCWebSocketConnection
Syntax
procedure SendBytesInMultipleFrames(var ABytes: TBytes; AFrameLength: UInt64; const AMasked: Boolean = False);
Remarks
The handshake must be completed before calling.
Parameters
| Name | Description |
|---|---|
ABytes |
Binary payload to send; the buffer is consumed as frames are produced. |
AFrameLength |
Maximum length of each frame, including header overhead. |
AMasked |
When True, each frame payload is masked before sending. Defaults to False. |