+namespace Microsoft.AspNetCore.RequestDecompression {
+ public interface IDecompressionProvider {
+ Stream GetDecompressionStream(Stream stream);
+ }
+ public interface IRequestDecompressionProvider {
+ Stream? GetDecompressionStream(HttpContext context);
+ }
+ public sealed class RequestDecompressionOptions {
+ public RequestDecompressionOptions();
+ public IDictionary<string, IDecompressionProvider> DecompressionProviders { get; }
+ }
+}