ICompressionProvider ICompressionProvider ICompressionProvider Interface

Definition

Provides a specific compression implementation to compress HTTP responses.

public interface ICompressionProvider
type ICompressionProvider = interface
Public Interface ICompressionProvider
Derived

Properties

EncodingName EncodingName EncodingName

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

SupportsFlush SupportsFlush SupportsFlush

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

Methods

CreateStream(Stream) CreateStream(Stream) CreateStream(Stream)

Create a new compression stream.

Applies to