HttpContentCodingWithQualityHeaderValue HttpContentCodingWithQualityHeaderValue HttpContentCodingWithQualityHeaderValue HttpContentCodingWithQualityHeaderValue HttpContentCodingWithQualityHeaderValue Class

Definition

Represents accept encoding information used in the Accept-Encoding HTTP header on an HTTP request.

public : sealed class HttpContentCodingWithQualityHeaderValue : IStringable, IHttpContentCodingWithQualityHeaderValue
struct winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue : IStringable, IHttpContentCodingWithQualityHeaderValue
public sealed class HttpContentCodingWithQualityHeaderValue : IStringable, IHttpContentCodingWithQualityHeaderValue
Public NotInheritable Class HttpContentCodingWithQualityHeaderValue Implements IStringable, IHttpContentCodingWithQualityHeaderValue
var httpContentCodingWithQualityHeaderValue = new httpContentCodingWithQualityHeaderValue(contentCoding);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The HttpContentCodingWithQualityHeaderValue class represents accept encoding information used in the Accept-Encoding HTTP header on an HTTP request.

The AcceptEncoding property on the HttpRequestHeaderCollection returns an HttpContentCodingWithQualityHeaderValueCollection that contains HttpContentCodingWithQualityHeaderValue objects.

Constructors

HttpContentCodingWithQualityHeaderValue(String) HttpContentCodingWithQualityHeaderValue(String) HttpContentCodingWithQualityHeaderValue(String) HttpContentCodingWithQualityHeaderValue(String) HttpContentCodingWithQualityHeaderValue(String)

Initializes a new instance of the HttpContentCodingHeaderValue class with content-coding information.

HttpContentCodingWithQualityHeaderValue(String, Double) HttpContentCodingWithQualityHeaderValue(String, Double) HttpContentCodingWithQualityHeaderValue(String, Double) HttpContentCodingWithQualityHeaderValue(String, Double) HttpContentCodingWithQualityHeaderValue(String, Double)

Initializes a new instance of the HttpContentCodingHeaderValue class with content-coding information and a qvalue.

Properties

ContentCoding ContentCoding ContentCoding ContentCoding ContentCoding

Gets the value of the content-coding characteristic in the Accept-Encoding HTTP header.

Quality Quality Quality Quality Quality

Gets the value of the qvalue attribute in the Accept-Encoding HTTP header.

Methods

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

Converts a string to an HttpContentCodingWithQualityHeaderValue instance.

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

Returns a string that represents the current HttpContentCodingHeaderValue object.

TryParse(String, HttpContentCodingWithQualityHeaderValue) TryParse(String, HttpContentCodingWithQualityHeaderValue) TryParse(String, HttpContentCodingWithQualityHeaderValue) TryParse(String, HttpContentCodingWithQualityHeaderValue) TryParse(String, HttpContentCodingWithQualityHeaderValue)

Determines whether a string is valid HttpContentCodingWithQualityHeaderValue information.

See Also