HttpWorkerRequest.HeaderConnection Field

Definition

Specifies the index number for the Connection HTTP header.

public: int HeaderConnection = 1;
public const int HeaderConnection = 1;
val mutable HeaderConnection : int
Public Const HeaderConnection As Integer  = 1

Field Value

Value = 1

Remarks

The .NET Framework assigns an index number to each standard HTTP header type, for use in the GetKnownRequestHeader and SendKnownResponseHeader methods.

Applies to

产品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1