CSharpEssentials.HttpHelper
4.0.6
dotnet add package CSharpEssentials.HttpHelper --version 4.0.6
NuGet\Install-Package CSharpEssentials.HttpHelper -Version 4.0.6
<PackageReference Include="CSharpEssentials.HttpHelper" Version="4.0.6" />
<PackageVersion Include="CSharpEssentials.HttpHelper" Version="4.0.6" />
<PackageReference Include="CSharpEssentials.HttpHelper" />
paket add CSharpEssentials.HttpHelper --version 4.0.6
#r "nuget: CSharpEssentials.HttpHelper, 4.0.6"
#:package CSharpEssentials.HttpHelper@4.0.6
#addin nuget:?package=CSharpEssentials.HttpHelper&version=4.0.6
#tool nuget:?package=CSharpEssentials.HttpHelper&version=4.0.6
CSharpEssentials.HttpHelper
📦 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 | Versions 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. |
-
net8.0
- CSharpEssentials.LoggerHelper (>= 4.0.5)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.3.0)
- Microsoft.Extensions.Configuration.Json (>= 9.0.2)
- Microsoft.Extensions.Http (>= 9.0.1)
- Polly (>= 8.5.2)
- System.Threading.RateLimiting (>= 9.0.1)
-
net9.0
- CSharpEssentials.LoggerHelper (>= 4.0.5)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.3.0)
- Microsoft.Extensions.Configuration.Json (>= 9.0.2)
- Microsoft.Extensions.Http (>= 9.0.1)
- Polly (>= 8.5.2)
- System.Threading.RateLimiting (>= 9.0.1)
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 |