Compartir a través de


RequestDecompressionServiceExtensions.AddRequestDecompression Método

Definición

Sobrecargas

AddRequestDecompression(IServiceCollection)

Agregar servicios de descompresión de solicitudes.

AddRequestDecompression(IServiceCollection, Action<RequestDecompressionOptions>)

Agregue servicios de descompresión de solicitudes y configure las opciones relacionadas.

AddRequestDecompression(IServiceCollection)

Source:
RequestDecompressionServiceExtensions.cs

Agregar servicios de descompresión de solicitudes.

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

Parámetros

services
IServiceCollection

para IServiceCollection agregar servicios.

Devoluciones

IServiceCollection.

Se aplica a

AddRequestDecompression(IServiceCollection, Action<RequestDecompressionOptions>)

Source:
RequestDecompressionServiceExtensions.cs

Agregue servicios de descompresión de solicitudes y configure las opciones relacionadas.

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

Parámetros

services
IServiceCollection

para IServiceCollection agregar servicios.

configureOptions
Action<RequestDecompressionOptions>

Un delegado para configurar la instancia de RequestDecompressionOptions.

Devoluciones

IServiceCollection.

Se aplica a