다음을 통해 공유


RequestDecompressionServiceExtensions.AddRequestDecompression 메서드

정의

오버로드

AddRequestDecompression(IServiceCollection)

요청 압축 해제 서비스를 추가합니다.

AddRequestDecompression(IServiceCollection, Action<RequestDecompressionOptions>)

요청 압축 해제 서비스를 추가하고 관련 옵션을 구성합니다.

AddRequestDecompression(IServiceCollection)

Source:
RequestDecompressionServiceExtensions.cs

요청 압축 해제 서비스를 추가합니다.

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

매개 변수

services
IServiceCollection

IServiceCollection 서비스를 추가하기 위한 입니다.

반환

IServiceCollection

적용 대상

AddRequestDecompression(IServiceCollection, Action<RequestDecompressionOptions>)

Source:
RequestDecompressionServiceExtensions.cs

요청 압축 해제 서비스를 추가하고 관련 옵션을 구성합니다.

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

매개 변수

services
IServiceCollection

IServiceCollection 서비스를 추가하기 위한 입니다.

configureOptions
Action<RequestDecompressionOptions>

RequestDecompressionOptions를 구성하기 위한 대리자입니다.

반환

IServiceCollection

적용 대상