GzipCompressionProvider Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
GZIP compression provider.
public ref class GzipCompressionProvider : Microsoft::AspNetCore::ResponseCompression::ICompressionProvider
C#
public class GzipCompressionProvider : Microsoft.AspNetCore.ResponseCompression.ICompressionProvider
type GzipCompressionProvider = class
interface ICompressionProvider
Public Class GzipCompressionProvider
Implements ICompressionProvider
- Inheritance
-
GzipCompressionProvider
- Implements
Gzip |
Creates a new instance of GzipCompressionProvider with options. |
Encoding |
The encoding name used in the 'Accept-Encoding' request header and 'Content-Encoding' response header. |
Supports |
Indicates if the given provider supports Flush and FlushAsync. If not, compression may be disabled in some scenarios. |
Create |
Create a new compression stream. |
Product | Versions |
---|---|
ASP.NET Core | 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |