Partager via


RequestDecompressionServiceExtensions.AddRequestDecompression Méthode

Définition

Surcharges

AddRequestDecompression(IServiceCollection)

Ajoutez des services de décompression de demande.

AddRequestDecompression(IServiceCollection, Action<RequestDecompressionOptions>)

Ajoutez des services de décompression de demande et configurez les options associées.

AddRequestDecompression(IServiceCollection)

Source:
RequestDecompressionServiceExtensions.cs

Ajoutez des services de décompression de demande.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestDecompression (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddRequestDecompression : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRequestDecompression (services As IServiceCollection) As IServiceCollection

Paramètres

services
IServiceCollection

pour l’ajout IServiceCollection de services.

Retours

L’IServiceCollectionopérateur

S’applique à

AddRequestDecompression(IServiceCollection, Action<RequestDecompressionOptions>)

Source:
RequestDecompressionServiceExtensions.cs

Ajoutez des services de décompression de demande et configurez les options associées.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestDecompression (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.RequestDecompression.RequestDecompressionOptions> configureOptions);
static member AddRequestDecompression : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.RequestDecompression.RequestDecompressionOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRequestDecompression (services As IServiceCollection, configureOptions As Action(Of RequestDecompressionOptions)) As IServiceCollection

Paramètres

services
IServiceCollection

pour l’ajout IServiceCollection de services.

configureOptions
Action<RequestDecompressionOptions>

Délégué utilisé pour configurer RequestDecompressionOptions.

Retours

L’IServiceCollectionopérateur

S’applique à