// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO.Compression;
using Microsoft.Extensions.Options;
namespace Microsoft.AspNetCore.ResponseCompression
{
///
/// Options for the GzipCompressionProvider
///
public class GzipCompressionProviderOptions : IOptions
{
///
/// What level of compression to use for the stream. The default is Fastest.
///
public CompressionLevel Level { get; set; } = CompressionLevel.Fastest;
///
GzipCompressionProviderOptions IOptions.Value => this;
}
}