Table of Contents

TTMSFNCCustomWebsocketClient.Pong Method

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

API unit family: TMSFNCWebSocketClient Declaring type: TTMSFNCCustomWebsocketClient

Overloads

Overload 1

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

procedure Pong(AMessage: string); 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.

procedure Pong(ABytes: TBytes); overload;

Parameters

Name Description
ABytes Binary pong payload.