Bewerken

Share via


DecompressionMethods Enum

Definition

Represents the file compression and decompression encoding format to be used to compress the data received in response to an HttpWebRequest.

This enumeration supports a bitwise combination of its member values.

public enum class DecompressionMethods
[System.Flags]
public enum DecompressionMethods
[<System.Flags>]
type DecompressionMethods = 
Public Enum DecompressionMethods
Inheritance
DecompressionMethods
Attributes

Fields

Name Value Description
All -1

Use all compression-decompression algorithms.

None 0

Do not use compression.

GZip 1

Use the gZip compression-decompression algorithm.

Deflate 2

Use the deflate compression-decompression algorithm.

Brotli 4

Use the Brotli compression-decompression algorithm.

Applies to