GenHTTP.Modules.Compression 10.0.0

dotnet add package GenHTTP.Modules.Compression --version 10.0.0
                    
NuGet\Install-Package GenHTTP.Modules.Compression -Version 10.0.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.0.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.0.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.0.0
                    
#r "nuget: GenHTTP.Modules.Compression, 10.0.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.0.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.0.0
                    
Install as a Cake Addin
#tool nuget:?package=GenHTTP.Modules.Compression&version=10.0.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.

Unhinged.GenHttp.Experimental

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

GenHTTP.Playground

Package Description

GenHTTP.Adapters.WiredIO

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0 125 11/11/2025
9.8.0 1,550 7/9/2025
9.7.0 1,114 2/27/2025
9.6.2 1,946 1/31/2025
9.6.0 725 1/22/2025
9.5.0 334 1/10/2025
9.4.0 462 12/20/2024
9.3.0 310 12/11/2024
9.2.0 508 11/29/2024
9.1.0 868 11/22/2024
9.0.0 621 11/13/2024
8.6.0 1,826 7/1/2024
8.5.0 1,152 6/4/2024
8.4.0 412 5/28/2024
8.3.0 1,230 4/23/2024
8.2.0 1,271 3/12/2024
8.1.1 577 2/26/2024
8.1.0 982 1/4/2024
8.0.0 1,086 11/23/2023
7.0.0 1,231 7/3/2023
6.4.0 6,643 8/23/2022
6.3.5 2,125 7/1/2022
6.3.4 1,213 4/26/2022
6.3.3 965 2/21/2022
6.3.2 959 1/24/2022
6.3.1 777 12/21/2021
6.3.0 767 12/20/2021
6.2.0 1,206 12/3/2021
6.1.0 6,483 11/24/2021
6.0.0 706 11/9/2021
5.2.0 1,906 1/18/2021
5.1.0 1,182 12/13/2020
5.0.0 1,008 11/20/2020
4.1.0 1,183 10/22/2020
4.0.0 1,109 10/5/2020