Table of Contents

TTMSFNCWebSocketConnection.Send Method

Sends a text message as a single final text frame.

API unit family: TMSFNCWebSocketCommon Declaring type: TTMSFNCWebSocketConnection

Syntax

procedure Send(const aMessage: string; const AMasked: Boolean = False);

Remarks

The handshake must be completed before calling.

Parameters

Name Description
aMessage Text to send.
AMasked When True, the payload is masked before sending. Defaults to False.