Share via


StreamWebSocketControl.ActualUnsolicitedPongInterval Property

Definition

Allows an app to get the actual unsolicited WebSocket PONG interval.

public:
 property TimeSpan ActualUnsolicitedPongInterval { TimeSpan get(); };
TimeSpan ActualUnsolicitedPongInterval();
public System.TimeSpan ActualUnsolicitedPongInterval { get; }
var timeSpan = streamWebSocketControl.actualUnsolicitedPongInterval;
Public ReadOnly Property ActualUnsolicitedPongInterval As TimeSpan

Property Value

System.Timespan

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

This terminology is defined in WebSocket RFC 6455, which is the time between unsolicited Pong control frames sent by the client to the server. The PONG serves as a unidirectional heartbeat and can be used for the client to determine network connection issues.

Applies to

See also