HttpWorkerRequest.HeaderAcceptRanges 字段

定义

指定 Accept-RangesHTTP 标头的索引号。Specifies the index number for the Accept-Ranges HTTP header.

public: int HeaderAcceptRanges = 20;
public const int HeaderAcceptRanges = 20;
val mutable HeaderAcceptRanges : int
Public Const HeaderAcceptRanges As Integer  = 20

字段值

注解

.NET Framework 为每个标准 HTTP 标头类型分配索引号,以便在 GetKnownRequestHeaderSendKnownResponseHeader 方法中使用。The .NET Framework assigns an index number to each standard HTTP header type, for use in the GetKnownRequestHeader and SendKnownResponseHeader methods.

适用于