type

 TScWebSocketOnControlMessageEvent = procedure (Sender: TObject; ControlMessageType: TScWebSocketControlMessageType) of object;

 

property OnControlMessage: TScWebSocketOnControlMessageEvent;

 

Description

The OnControlMessage event occurs if a control message was received from the WebSocket server.

Sender is the object that raised the event.

ControlMessageType defines the types of the control message received from the server.

 

See Also

OnMessage

Ping

PingAsync

TScWebSocketControlMessageType

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support