ICompressionProvider Interface
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.
Provides a specific compression implementation to compress HTTP responses.
public interface class ICompressionProvider
C#
public interface ICompressionProvider
type ICompressionProvider = interface
Public Interface ICompressionProvider
- Derived
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 |