Skip to main content
Table of Contents

TTMSFNCWebSocketConnection.OnPing Event

Occurs when a ping control frame is received.

API unit family: TMSFNCWebSocketCommon Declaring type: TTMSFNCWebSocketConnection

Syntax

FMX.TMSFNCWebSocketCommon.hppPascalC++
OnPing: TTMSFNCWebSocketControlEvent;
__property TTMSFNCWebSocketControlEvent OnPing = {read=FOnPing, write=FOnPing};

Remarks

When automatic replies are enabled, the pong has already been sent by the time the handler runs.