CSharpEssentials.HttpHelper
4.0.11
dotnet add package CSharpEssentials.HttpHelper --version 4.0.11
NuGet\Install-Package CSharpEssentials.HttpHelper -Version 4.0.11
<PackageReference Include="CSharpEssentials.HttpHelper" Version="4.0.11" />
<PackageVersion Include="CSharpEssentials.HttpHelper" Version="4.0.11" />
<PackageReference Include="CSharpEssentials.HttpHelper" />
paket add CSharpEssentials.HttpHelper --version 4.0.11
#r "nuget: CSharpEssentials.HttpHelper, 4.0.11"
#:package CSharpEssentials.HttpHelper@4.0.11
#addin nuget:?package=CSharpEssentials.HttpHelper&version=4.0.11
#tool nuget:?package=CSharpEssentials.HttpHelper&version=4.0.11
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)
- Moq (>= 4.20.72)
- 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)
- Moq (>= 4.20.72)
- 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.11 | 0 | 11/19/2025 |
| 4.0.10 | 86 | 11/16/2025 |
| 4.0.9 | 127 | 11/15/2025 |
| 4.0.8 | 221 | 11/14/2025 |
| 4.0.7 | 185 | 11/4/2025 |
| 4.0.6 | 174 | 10/21/2025 |
| 4.0.5 | 180 | 10/20/2025 |
| 4.0.4 | 108 | 10/18/2025 |
| 4.0.3 | 230 | 10/4/2025 |
| 4.0.2 | 301 | 9/12/2025 |
| 4.0.0 | 174 | 9/10/2025 |
| 3.0.1 | 169 | 9/10/2025 |
| 2.0.5 | 185 | 9/7/2025 |
| 2.0.4 | 145 | 9/7/2025 |
| 2.0.3 | 140 | 9/7/2025 |
| 2.0.2 | 216 | 6/14/2025 |
| 2.0.1 | 178 | 6/14/2025 |
| 2.0.0 | 175 | 6/14/2025 |
| 1.2.4 | 289 | 3/3/2025 |
| 1.2.3 | 145 | 3/2/2025 |
| 1.2.2 | 138 | 3/2/2025 |
| 1.2.0 | 140 | 3/2/2025 |
| 1.1.1 | 156 | 2/22/2025 |
| 1.1.0 | 149 | 2/22/2025 |
| 1.0.0 | 531 | 2/2/2025 |