Table of Contents

TTMSFNCWebsocketClient.SendMasked Method

Sends raw binary data with the payload masked, as required for client-to-server frames.

API unit family: TMSFNCWebSocketClient Declaring type: TTMSFNCWebsocketClient Inherited from: TTMSFNCCustomWebsocketClient

Overloads

Overload 1

Sends raw binary data with the payload masked, as required for client-to-server frames.

procedure SendMasked(ABytes: TBytes); overload;

Parameters

Name Description
ABytes The binary payload to send masked.

Overload 2

Sends a text message with the payload masked, as required for client-to-server frames.

procedure SendMasked(const AMessage: string); overload;

Parameters

Name Description
AMessage The text message to send masked.