ICompressionProvider Interface

Definition

Provides a specific compression implementation to compress HTTP responses.

public interface class ICompressionProvider
public interface ICompressionProvider
type ICompressionProvider = interface
Public Interface ICompressionProvider
Derived

Properties

EncodingName

The encoding name used in the 'Accept-Encoding' request header and 'Content-Encoding' response header.

SupportsFlush

Indicates if the given provider supports Flush and FlushAsync. If not, compression may be disabled in some scenarios.

Methods

CreateStream(Stream)

Create a new compression stream.

Applies to