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 507 12/30/2025
10.3.0 1,147 12/19/2025
10.2.0 730 12/11/2025
10.1.2 537 12/10/2025
10.1.1 379 11/28/2025
10.1.0 781 11/20/2025
10.0.0 1,590 11/11/2025
9.8.0 1,934 7/9/2025
9.7.0 1,485 2/27/2025
9.6.2 2,135 1/31/2025
9.6.0 753 1/22/2025
9.5.0 361 1/10/2025
9.4.0 489 12/20/2024
9.3.0 335 12/11/2024
9.2.0 541 11/29/2024
9.1.0 941 11/22/2024
9.0.0 645 11/13/2024
8.6.0 1,866 7/1/2024
8.5.0 1,182 6/4/2024
8.4.0 438 5/28/2024
8.3.0 1,260 4/23/2024
8.2.0 1,324 3/12/2024
8.1.1 605 2/26/2024
8.1.0 1,009 1/4/2024
8.0.0 1,100 11/23/2023
7.0.0 1,258 7/3/2023
6.4.0 6,850 8/23/2022
6.3.5 2,152 7/1/2022
6.3.4 1,231 4/26/2022
6.3.3 995 2/21/2022
6.3.2 984 1/24/2022
6.3.1 799 12/21/2021
6.3.0 794 12/20/2021
6.2.0 1,233 12/3/2021
6.1.0 6,510 11/24/2021
6.0.0 733 11/9/2021
5.2.0 1,943 1/18/2021
5.1.0 1,214 12/13/2020
5.0.0 1,038 11/20/2020
4.1.0 1,213 10/22/2020
4.0.0 1,139 10/5/2020