SocketsHttpHandler.AutomaticDecompression 属性

定义

获取或设置处理程序用于自动解压缩 HTTP 内容响应的解压缩方法类型。Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response.

public:
 property System::Net::DecompressionMethods AutomaticDecompression { System::Net::DecompressionMethods get(); void set(System::Net::DecompressionMethods value); };
public System.Net.DecompressionMethods AutomaticDecompression { get; set; }
member this.AutomaticDecompression : System.Net.DecompressionMethods with get, set
Public Property AutomaticDecompression As DecompressionMethods

属性值

DecompressionMethods

处理程序用于自动解压缩 HTTP 内容响应的解压缩方法类型。The type of decompression method used by the handler for automatic decompression of the HTTP content response.

适用于