HttpTransferCodingHeaderValue HttpTransferCodingHeaderValue HttpTransferCodingHeaderValue HttpTransferCodingHeaderValue Class

Represents transfer coding information used in the Transfer-Encoding HTTP header on an HTTP request.

Syntax

Declaration

public sealed class HttpTransferCodingHeaderValuepublic sealed class HttpTransferCodingHeaderValuePublic NotInheritable Class HttpTransferCodingHeaderValue

Remarks

The HttpTransferCodingHeaderValue class represents transfer coding information used in the Transfer-Encoding HTTP header on an HTTP request.

The TransferEncoding property on the HttpRequestHeaderCollection returns an HttpTransferCodingHeaderValueCollection that contains HttpTransferCodingHeaderValue objects.

Constructors summary

Initializes a new instance of the HttpProductInfoHeaderValue class.

Properties summary

Gets a set of parameters used in the Transfer-Encoding HTTP header.

Gets the transfer-coding value used in the Transfer-Encoding HTTP header.

Methods summary

Converts a string to an HttpTransferCodingHeaderValue instance.

Returns a string that represents the current HttpTransferCodingHeaderValue object.

Determines whether a string is valid HttpTransferCodingHeaderValue information.

Constructors

  • HttpTransferCodingHeaderValue(System.String)
    HttpTransferCodingHeaderValue(System.String)
    HttpTransferCodingHeaderValue(System.String)
    HttpTransferCodingHeaderValue(System.String)

    Initializes a new instance of the HttpProductInfoHeaderValue class.

    public HttpTransferCodingHeaderValue(System.String)public HttpTransferCodingHeaderValue(System.String)Public Function HttpTransferCodingHeaderValue(System.String) As

    Parameters

    • input
      System.String
      System.String
      System.String
      System.String

      The transfer-coding information to initialize the HttpProductInfoHeaderValue object.

Properties

  • Parameters
    Parameters
    Parameters
    Parameters

    Gets a set of parameters used in the Transfer-Encoding HTTP header.

    public IVector<HttpNameValueHeaderValue> Parameters { get; }public IVector<HttpNameValueHeaderValue> Parameters { get; }Public ReadOnly Property Parameters As IVector<HttpNameValueHeaderValue>

    Property Value

    • A set of name/value parameters used in the Transfer-Encoding HTTP header.

  • Value
    Value
    Value
    Value

    Gets the transfer-coding value used in the Transfer-Encoding HTTP header.

    public string Value { get; }public string Value { get; }Public ReadOnly Property Value As string

    Property Value

    • string
      string
      string
      string

      The transfer-coding value (transfer-coding name) used in the Transfer-Encoding HTTP header.

    Remarks

    All transfer-coding names are case-insensitive and ought to be registered within the HTTP Transfer Coding registry.

    For the list of registered transfer-coding values, see Hypertext Transfer Protocol (HTTP) Parameters .

Methods

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.ActivatableAttribute
Windows.Foundation.Metadata.StaticAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute

Details

Assembly

Windows.Web.Http.Headers.dll