Http​Transfer​Coding​Header​Value Http​Transfer​Coding​Header​Value Http​Transfer​Coding​Header​Value Class

Definition

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

public sealed class HttpTransferCodingHeaderValue : IStringable, IHttpTransferCodingHeaderValuepublic sealed class HttpTransferCodingHeaderValue : IStringable, IHttpTransferCodingHeaderValuePublic NotInheritable Class HttpTransferCodingHeaderValue Implements IStringable, IHttpTransferCodingHeaderValue
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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

HttpTransferCodingHeaderValue(String) HttpTransferCodingHeaderValue(String) HttpTransferCodingHeaderValue(String)

Initializes a new instance of the HttpProductInfoHeaderValue class.

public HttpTransferCodingHeaderValue(String input)public HttpTransferCodingHeaderValue(String input)Public Sub New(input As String)
Parameters
input
System.String System.String System.String

The transfer-coding information to initialize the HttpProductInfoHeaderValue object.

Attributes

Properties

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>
Value

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

Attributes

Value Value Value

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

public PlatForm::String Value { get; }public string Value { get; }Public ReadOnly Property Value As string
Value
string string string

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

Attributes

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

Parse(String) Parse(String) Parse(String)

Converts a string to an HttpTransferCodingHeaderValue instance.

public static HttpTransferCodingHeaderValue Parse(String input)public static HttpTransferCodingHeaderValue Parse(String input)Public Static Function Parse(input As String) As HttpTransferCodingHeaderValue
Parameters
input
System.String System.String System.String

A string that represents the transfer-coding information.

Returns
Attributes

ToString() ToString() ToString()

Returns a string that represents the current HttpTransferCodingHeaderValue object.

public PlatForm::String ToString()public string ToString()Public Function ToString() As string
Returns
string string string

A string that represents the current object.

Attributes

TryParse(String, HttpTransferCodingHeaderValue) TryParse(String, HttpTransferCodingHeaderValue) TryParse(String, HttpTransferCodingHeaderValue)

Determines whether a string is valid HttpTransferCodingHeaderValue information.

public static PlatForm::Boolean TryParse(String input, HttpTransferCodingHeaderValue transferCodingHeaderValue)public static bool TryParse(String input, HttpTransferCodingHeaderValue transferCodingHeaderValue)Public Static Function TryParse(input As String, transferCodingHeaderValue As HttpTransferCodingHeaderValue) As bool
Parameters
input
System.String System.String System.String

The string to validate.

Returns
bool bool bool

true if input is valid HttpTransferCodingHeaderValue information; otherwise, false.

Attributes