Udostępnij za pośrednictwem


RequestDecompressionServiceExtensions.AddRequestDecompression Metoda

Definicja

Przeciążenia

AddRequestDecompression(IServiceCollection)

Dodaj usługi dekompresji żądań.

AddRequestDecompression(IServiceCollection, Action<RequestDecompressionOptions>)

Dodaj usługi dekompresji żądań i skonfiguruj powiązane opcje.

AddRequestDecompression(IServiceCollection)

Źródło:
RequestDecompressionServiceExtensions.cs

Dodaj usługi dekompresji żądań.

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

Parametry

services
IServiceCollection

Element do dodawania IServiceCollection usług.

Zwraca

Element IServiceCollection.

Dotyczy

AddRequestDecompression(IServiceCollection, Action<RequestDecompressionOptions>)

Źródło:
RequestDecompressionServiceExtensions.cs

Dodaj usługi dekompresji żądań i skonfiguruj powiązane opcje.

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

Parametry

services
IServiceCollection

Element do dodawania IServiceCollection usług.

configureOptions
Action<RequestDecompressionOptions>

Pełnomocnik do skonfigurowania .RequestDecompressionOptions

Zwraca

Element IServiceCollection.

Dotyczy