共用方式為


HttpWorkerRequest.HeaderKeepAlive 欄位

定義

指定 Keep-Alive HTTP 標頭的索引編號。

public: int HeaderKeepAlive = 3;
public const int HeaderKeepAlive = 3;
val mutable HeaderKeepAlive : int
Public Const HeaderKeepAlive As Integer  = 3

欄位值

Value = 3

備註

.NET Framework會將索引編號指派給每個標準 HTTP 標頭類型,以用於 GetKnownRequestHeaderSendKnownResponseHeader 方法。

適用於