HttpContentCodingHeaderValue HttpContentCodingHeaderValue HttpContentCodingHeaderValue HttpContentCodingHeaderValue HttpContentCodingHeaderValue Class

Definition

Represents content encoding information used in the Content-Encoding HTTP header on HTTP content in a request or a response.

public : sealed class HttpContentCodingHeaderValue : IStringable
struct winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue : IStringable
public sealed class HttpContentCodingHeaderValue : IStringable
Public NotInheritable Class HttpContentCodingHeaderValue Implements IStringable
var httpContentCodingHeaderValue = new httpContentCodingHeaderValue(contentCoding);
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The HttpContentCodingHeaderValue class represents content encoding information used in the Content-Encoding HTTP header on HTTP content sent in an HTTP request or received in an HTTP response.

The ContentEncoding property on the HttpContentHeaderCollection returns an HttpContentCodingHeaderValueCollection that contains HttpContentCodingHeaderValue objects.

Constructors

HttpContentCodingHeaderValue(String) HttpContentCodingHeaderValue(String) HttpContentCodingHeaderValue(String) HttpContentCodingHeaderValue(String) HttpContentCodingHeaderValue(String)

Initializes a new instance of the HttpContentCodingHeaderValue class.

Properties

ContentCoding ContentCoding ContentCoding ContentCoding ContentCoding

Gets the value of the content-coding information used in the Content-Encoding HTTP header.

Methods

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

Converts a string to an HttpContentCodingHeaderValue instance.

ToString() ToString() ToString() ToString() ToString()

Returns a string that represents the current HttpContentCodingHeaderValue object.

TryParse(String, HttpContentCodingHeaderValue) TryParse(String, HttpContentCodingHeaderValue) TryParse(String, HttpContentCodingHeaderValue) TryParse(String, HttpContentCodingHeaderValue) TryParse(String, HttpContentCodingHeaderValue)

Determines whether a string is valid HttpContentCodingHeaderValue information.

See also