CSharpEssentials.HttpHelper 4.0.6

dotnet add package CSharpEssentials.HttpHelper --version 4.0.6
                    
NuGet\Install-Package CSharpEssentials.HttpHelper -Version 4.0.6
                    
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="CSharpEssentials.HttpHelper" Version="4.0.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CSharpEssentials.HttpHelper" Version="4.0.6" />
                    
Directory.Packages.props
<PackageReference Include="CSharpEssentials.HttpHelper" />
                    
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 CSharpEssentials.HttpHelper --version 4.0.6
                    
#r "nuget: CSharpEssentials.HttpHelper, 4.0.6"
                    
#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 CSharpEssentials.HttpHelper@4.0.6
                    
#: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=CSharpEssentials.HttpHelper&version=4.0.6
                    
Install as a Cake Addin
#tool nuget:?package=CSharpEssentials.HttpHelper&version=4.0.6
                    
Install as a Cake Tool

CSharpEssentials.HttpHelper

Frameworks CodeQL NuGet Downloads Last Commit GitHub Discussions Issues


📦 Package

🛠️ Change Log [Version 4.0.5]

1. Feature: Custom HttpClient Handler Support

A significant improvement has been introduced to allow users to inject a custom SocketsHttpHandler when configuring a named HttpClient. This enhancement provides granular control over network behavior, such as connection settings, proxy configuration, and automatic HTTP compression.

Example: Enabling Automatic HTTP Compression

You can now configure automatic HTTP decompression for your named client:

var handler = new SocketsHttpHandler 
{
    // Enable automatic decompression for GZip and Deflate
    AutomaticDecompression = System.Net.DecompressionMethods.GZip | System.Net.DecompressionMethods.Deflate,
};

builder.Services.AddHttpClients(builder.Configuration, handler);

CSharpEssentials.HttpHelper is a lightweight helper to simplify the usage of HttpClient in .NET with a fluent, configurable API.
It provides convenient methods for request customization, retries, timeouts, authentication headers, and more.


📖 Documentation & Demo

The full documentation and usage examples (GET requests, retries, authentication, and more) are available here:

👉 Using HttpHelper – Examples & Demo


🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to open a pull request or issue.


📜 License

Distributed under the MIT License. See LICENSE for more information.


---
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 was computed.  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 (2)

Showing the top 2 NuGet packages that depend on CSharpEssentials.HttpHelper:

Package Downloads
CSharpEssentials.HangFireHelper

A library to help you to use HangFire

CSharpEssentials.LoggerHelper.AI

C# AI Observability: RAG, Trace Correlation & Anomaly Detection

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.6 43 10/21/2025
4.0.5 95 10/20/2025
4.0.4 77 10/18/2025
4.0.3 208 10/4/2025
4.0.2 297 9/12/2025
4.0.0 170 9/10/2025
3.0.1 162 9/10/2025
2.0.5 178 9/7/2025
2.0.4 139 9/7/2025
2.0.3 133 9/7/2025
2.0.2 209 6/14/2025
2.0.1 174 6/14/2025
2.0.0 171 6/14/2025
1.2.4 282 3/3/2025
1.2.3 143 3/2/2025
1.2.2 133 3/2/2025
1.2.0 135 3/2/2025
1.1.1 151 2/22/2025
1.1.0 145 2/22/2025
1.0.0 514 2/2/2025