Skip to main content
Table of Contents

TTMSFNCCustomWebSocketServer.BroadcastMessage Method

Sends a text message to every connection whose handshake has completed.

API unit family: TMSFNCWebSocketServer Declaring type: TTMSFNCCustomWebSocketServer

Syntax

FMX.TMSFNCWebSocketServer.hppPascalC++
procedure BroadcastMessage(AMessage: string); virtual;
virtual void __fastcall BroadcastMessage(System::UnicodeString AMessage);

Parameters

Name Description
AMessage The text message to send.