共用方式為


HttpKeepAlivePingPolicy 列舉

定義

指定透過閒置的連線傳送 HTTP/2 ping 框架的時機。

public enum class HttpKeepAlivePingPolicy
public enum HttpKeepAlivePingPolicy
type HttpKeepAlivePingPolicy = 
Public Enum HttpKeepAlivePingPolicy
繼承
HttpKeepAlivePingPolicy

欄位

Always 1

針對連線的整個存留期傳送保持連線 ping。

WithActiveRequests 0

只在連線上有作用中的資料流時才傳送保持連線的 ping。

適用於