| File: ZstandardCompressionProviderOptions.cs | Web Access |
| Project: src\aspnetcore\src\Middleware\ResponseCompression\src\Microsoft.AspNetCore.ResponseCompression.csproj (Microsoft.AspNetCore.ResponseCompression) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.IO.Compression; using Microsoft.Extensions.Options; namespace Microsoft.AspNetCore.ResponseCompression; /// <summary> /// Options for the <see cref="ZstandardCompressionProvider"/> /// </summary> public class ZstandardCompressionProviderOptions : IOptions<ZstandardCompressionProviderOptions> { /// <summary> /// The compression options to use for the stream. /// </summary> public ZstandardCompressionOptions CompressionOptions { get; set; } = new(); /// <inheritdoc /> ZstandardCompressionProviderOptions IOptions<ZstandardCompressionProviderOptions>.Value => this; }