2 implementations of IResponseCompressionProvider
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionProvider.cs (1)
17
public class ResponseCompressionProvider :
IResponseCompressionProvider
Microsoft.AspNetCore.ResponseCompression.Tests (1)
ResponseCompressionBodyTest.cs (1)
93
private class MockResponseCompressionProvider :
IResponseCompressionProvider
7 references to IResponseCompressionProvider
Microsoft.AspNetCore.ResponseCompression (7)
ResponseCompressionBody.cs (2)
18
private readonly
IResponseCompressionProvider
_provider;
30
internal ResponseCompressionBody(HttpContext context,
IResponseCompressionProvider
provider,
ResponseCompressionMiddleware.cs (3)
16
private readonly
IResponseCompressionProvider
_provider;
22
/// <param name="provider">The <see cref="
IResponseCompressionProvider
"/>.</param>
23
public ResponseCompressionMiddleware(RequestDelegate next,
IResponseCompressionProvider
provider)
ResponseCompressionServicesExtensions.cs (2)
24
services.TryAddSingleton<
IResponseCompressionProvider
, ResponseCompressionProvider>();
40
services.TryAddSingleton<
IResponseCompressionProvider
, ResponseCompressionProvider>();