Table of Contents

TTMSFNCWebSocketConnection.SendInMultipleFrames Method

Sends a text message split across multiple fragmented frames.

API unit family: TMSFNCWebSocketCommon Declaring type: TTMSFNCWebSocketConnection

Syntax

procedure SendInMultipleFrames(const AMessage: string; AFrameLength: UInt64; const AMasked: Boolean = False);

Parameters

Name Description
AMessage Text to encode and send.
AFrameLength Maximum length of each frame, including header overhead.
AMasked When True, each frame payload is masked before sending. Defaults to False.