DecompressionMethods DecompressionMethods DecompressionMethods DecompressionMethods Enum

定义

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

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class DecompressionMethods
[System.Flags]
public enum DecompressionMethods
type DecompressionMethods = 
Public Enum DecompressionMethods
继承
DecompressionMethodsDecompressionMethodsDecompressionMethodsDecompressionMethods
属性

字段

All All All All -1

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

Brotli Brotli Brotli Brotli 4

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

Deflate Deflate Deflate Deflate 2

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

GZip GZip GZip GZip 1

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

None None None None 0

不使用压缩。Do not use compression.

适用于