procedure PingAsync;

 

Description

Call the PingAsync message to send a ping control message to a WebSocket server. After sending a message, the method returns control immediately without waiting for an answer from the server.

You can find out about receiving a Pong response by handling the OnControlMessage event.

A Ping message may serve either as a keepalive or as a means to check that the remote endpoint is still responsive.

 

See Also

OnControlMessage

Ping

Pong

TScWebSocketControlMessageType

 

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