Dela via


HttpRequestHeaderCollection.AcceptEncoding Property

Definition

Gets the HttpContentCodingWithQualityHeaderValueCollection of HttpContentCodingWithQualityHeaderValue objects that represent the value of an Accept-Encoding HTTP header on an HTTP request.

public:
 property HttpContentCodingWithQualityHeaderValueCollection ^ AcceptEncoding { HttpContentCodingWithQualityHeaderValueCollection ^ get(); };
HttpContentCodingWithQualityHeaderValueCollection AcceptEncoding();
public HttpContentCodingWithQualityHeaderValueCollection AcceptEncoding { get; }
var httpContentCodingWithQualityHeaderValueCollection = httpRequestHeaderCollection.acceptEncoding;
Public ReadOnly Property AcceptEncoding As HttpContentCodingWithQualityHeaderValueCollection

Property Value

The collection of HttpContentCodingWithQualityHeaderValue objects that represent the value of an Accept-Encoding HTTP header. An empty collection means that the header is absent.

Applies to

See also