DecompressionMethods 列舉

定義

表示為回應 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
public enum DecompressionMethods
type DecompressionMethods = 
Public Enum DecompressionMethods
繼承
DecompressionMethods
屬性

欄位

All -1

使用所有壓縮-解壓縮演算法。Use all compression-decompression algorithms.

Brotli 4

使用 Brotli 壓縮-解壓縮演算法。Use the Brotli compression-decompression algorithm.

Deflate 2

使用結實壓縮-解壓縮演算法。Use the deflate compression-decompression algorithm.

GZip 1

使用 gZip 壓縮-解壓縮演算法。Use the gZip compression-decompression algorithm.

None 0

不要使用壓縮。Do not use compression.

適用於