TsgcHTTP2ClientMethods › Ping

Ping Method

Sends an HTTP/2 PING frame to the server to verify connectivity and measure latency.

Syntax

procedure Ping;

Remarks

The HTTP/2 PING frame carries an 8-byte opaque payload that the peer must echo back with the ACK flag set. It is independent from the stream layer, so it can be issued at any time — even while multiplexed requests are in flight — and is typically used as a keep-alive or RTT probe alongside the HeartBeat property.

Example

oClient.Ping;

Back to Methods