Freigeben über


ResponseCompressionBuilderExtensions.UseResponseCompression Methode

Definition

Fügt Middleware zum dynamischen Komprimieren von HTTP-Antworten hinzu.

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

Parameter

builder
IApplicationBuilder

Die IApplicationBuilder instance diese Methode erweitert.

Gibt zurück

Gilt für: