SocketsHttpHandler.KeepAlivePingPolicy Property

Definition

Gets or sets the keep alive ping behaviour.

public System.Net.Http.HttpKeepAlivePingPolicy KeepAlivePingPolicy { get; set; }

Property Value

The keep alive ping behaviour.

Remarks

Keep alive pings are sent when a period of inactivity exceeds the configured KeepAlivePingDelay value.

Applies to

Product Versions
.NET 5, 6, 7, 8, 9