HttpRequestHeaders.AcceptEncoding 属性

定义

获取 HTTP 请求的 Accept-Encoding 标头值。

public:
 property System::Net::Http::Headers::HttpHeaderValueCollection<System::Net::Http::Headers::StringWithQualityHeaderValue ^> ^ AcceptEncoding { System::Net::Http::Headers::HttpHeaderValueCollection<System::Net::Http::Headers::StringWithQualityHeaderValue ^> ^ get(); };
public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.StringWithQualityHeaderValue> AcceptEncoding { get; }
member this.AcceptEncoding : System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.StringWithQualityHeaderValue>
Public ReadOnly Property AcceptEncoding As HttpHeaderValueCollection(Of StringWithQualityHeaderValue)

属性值

HTTP 请求的 Accept-Encoding 标头值。

适用于