DecompressionMethods Enum

Definition

表示文件压缩和解压缩编码格式,该格式将用来压缩在 HttpWebRequest 的响应中收到的数据。Represents the file compression and decompression encoding format to be used to compress the data received in response to an HttpWebRequest.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Fields

All -1

使用全部压缩-解压缩算法。Use all compression-decompression algorithms.

Brotli 4

使用 Brotli 压缩-解压缩算法。Use the Brotli compression-decompression algorithm.

Deflate 2

使用 Deflate 压缩/解压缩算法。Use the deflate compression-decompression algorithm.

GZip 1

使用 gZip 压缩/解压缩算法。Use the gZip compression-decompression algorithm.

None 0

不使用压缩。Do not use compression.

Applies to