GenHTTP.Modules.Compression 10.4.0

dotnet add package GenHTTP.Modules.Compression --version 10.4.0
                    
NuGet\Install-Package GenHTTP.Modules.Compression -Version 10.4.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GenHTTP.Modules.Compression" Version="10.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GenHTTP.Modules.Compression" Version="10.4.0" />
                    
Directory.Packages.props
<PackageReference Include="GenHTTP.Modules.Compression" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GenHTTP.Modules.Compression --version 10.4.0
                    
#r "nuget: GenHTTP.Modules.Compression, 10.4.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package GenHTTP.Modules.Compression@10.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GenHTTP.Modules.Compression&version=10.4.0
                    
Install as a Cake Addin
#tool nuget:?package=GenHTTP.Modules.Compression&version=10.4.0
                    
Install as a Cake Tool

GenHTTP.Modules.Compression

This package provides a concern that will compress generated content based on the algorithms supported by the client.

By default, br, gzip and zstd algorithms are supported. The server will select the best algorithm based on the Accept-Encoding header sent by the client.

The concern will analyze the Content-Type of the response to determine, whether the content should be compressed (as there are file types that are already compressed).

For more details, please refer to the documentation.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on GenHTTP.Modules.Compression:

Package Downloads
GenHTTP.Modules.Practices

Best practices to configure a GenHTTP webserver instance for production

GenHTTP.Adapters.AspNetCore

Adapter to run GenHTTP handlers within an ASP.NET Core app.

GenHTTP.Adapters.WiredIO

Adapter to run GenHTTP handlers within an Wired.IO app.

Unhinged.GenHttp.Experimental

https://github.com/MDA2AV/Unhinged-GenHttp-Adapter

GenHTTP.Playground

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.4.0 457 12/30/2025
10.3.0 1,121 12/19/2025
10.2.0 614 12/11/2025
10.1.2 532 12/10/2025
10.1.1 365 11/28/2025
10.1.0 775 11/20/2025
10.0.0 1,489 11/11/2025
9.8.0 1,922 7/9/2025
9.7.0 1,479 2/27/2025
9.6.2 2,129 1/31/2025
9.6.0 748 1/22/2025
9.5.0 355 1/10/2025
9.4.0 483 12/20/2024
9.3.0 328 12/11/2024
9.2.0 536 11/29/2024
9.1.0 936 11/22/2024
9.0.0 641 11/13/2024
8.6.0 1,861 7/1/2024
8.5.0 1,176 6/4/2024
8.4.0 433 5/28/2024
8.3.0 1,256 4/23/2024
8.2.0 1,319 3/12/2024
8.1.1 600 2/26/2024
8.1.0 1,003 1/4/2024
8.0.0 1,098 11/23/2023
7.0.0 1,257 7/3/2023
6.4.0 6,841 8/23/2022
6.3.5 2,150 7/1/2022
6.3.4 1,230 4/26/2022
6.3.3 993 2/21/2022
6.3.2 983 1/24/2022
6.3.1 798 12/21/2021
6.3.0 792 12/20/2021
6.2.0 1,232 12/3/2021
6.1.0 6,508 11/24/2021
6.0.0 732 11/9/2021
5.2.0 1,941 1/18/2021
5.1.0 1,213 12/13/2020
5.0.0 1,037 11/20/2020
4.1.0 1,212 10/22/2020
4.0.0 1,139 10/5/2020