Skip to main content
Table of Contents

TTMSFNCWebsocketClient.Pong Method

Sends a pong control frame carrying the given text as its payload.

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

Overloads

Overload 1

Sends a pong control frame carrying the given text as its payload.

FMX.TMSFNCWebSocketClient.hppPascalC++
procedure Pong(AMessage: string); overload;
void __fastcall Pong(System::UnicodeString AMessage)/* overload */;

Parameters

Name Description
AMessage Text used as the pong payload.

Overload 2

Sends a pong control frame carrying the given bytes as its payload.

FMX.TMSFNCWebSocketClient.hppPascalC++
procedure Pong(ABytes: TBytes); overload;
void __fastcall Pong(System::Sysutils::TBytes ABytes)/* overload */;

Parameters

Name Description
ABytes Binary pong payload.