Sdílet prostřednictvím


ResponseCompressionBuilderExtensions.UseResponseCompression Metoda

Definice

Přidává middleware pro dynamickou kompresi odpovědí HTTP.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseResponseCompression(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ builder);
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

Parametry

builder
IApplicationBuilder

Instance IApplicationBuilder , která tato metoda rozšiřuje.

Návraty

Platí pro