ResponseCompressionBuilderExtensions.UseResponseCompression(IApplicationBuilder) ResponseCompressionBuilderExtensions.UseResponseCompression(IApplicationBuilder) ResponseCompressionBuilderExtensions.UseResponseCompression(IApplicationBuilder) Method

Definition

Adds middleware for dynamically compressing HTTP Responses.

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseResponseCompression (this Microsoft.AspNetCore.Builder.IApplicationBuilder builder);
static member UseResponseCompression : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseResponseCompression (builder As IApplicationBuilder) As IApplicationBuilder

Parameters

Returns

Applies to