Share via


IResponseCompressionProvider Interface

Definition

Used to examine requests and responses to see if compression should be enabled.

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

Methods

CheckRequestAcceptsCompression(HttpContext)

Examines the request to see if compression should be used for response.

GetCompressionProvider(HttpContext)

Examines the request and selects an acceptable compression provider, if any.

ShouldCompressResponse(HttpContext)

Examines the response on first write to see if compression should be used.

Applies to