Microsoft.AspNetCore.ResponseCompression Namespace

Contains types used to dynamically compress response bodies and reduce bandwidth utilization.

Classes

BrotliCompressionProvider

Brotli compression provider.

BrotliCompressionProviderOptions

Options for the BrotliCompressionProvider

CompressionProviderCollection

A Collection of ICompressionProvider's that also allows them to be instantiated from an IServiceProvider.

GzipCompressionProvider

GZIP compression provider.

GzipCompressionProviderOptions

Options for the GzipCompressionProvider

ResponseCompressionDefaults

Defaults for the ResponseCompressionMiddleware

ResponseCompressionMiddleware

Enable HTTP response compression.

ResponseCompressionOptions

Options for the HTTP response compression middleware.

ResponseCompressionProvider

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

Interfaces

ICompressionProvider

Provides a specific compression implementation to compress HTTP responses.

IResponseCompressionProvider

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

Remarks

For more information about ASP.NET Core response compression, see Response compression.