Udostępnij za pośrednictwem


HttpClientHandler.AutomaticDecompression Property

Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public Property AutomaticDecompression As DecompressionMethods 
    Get 
    Set
'Usage
Dim instance As HttpClientHandler 
Dim value As DecompressionMethods 

value = instance.AutomaticDecompression

instance.AutomaticDecompression = value
public DecompressionMethods AutomaticDecompression { get; set; }
public:
property DecompressionMethods AutomaticDecompression {
    DecompressionMethods get ();
    void set (DecompressionMethods value);
}
member AutomaticDecompression : DecompressionMethods with get, set
function get AutomaticDecompression () : DecompressionMethods 
function set AutomaticDecompression (value : DecompressionMethods)

Property Value

Type: System.Net.DecompressionMethods

See Also

Reference

HttpClientHandler Class

System.Net.Http Namespace