CSharpEssentials.HttpHelper 5.2.2

dotnet add package CSharpEssentials.HttpHelper --version 5.2.2
 
NuGet\Install-Package CSharpEssentials.HttpHelper -Version 5.2.2
 
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="5.2.2" />
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CSharpEssentials.HttpHelper" Version="5.2.2" />
 
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 5.2.2
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CSharpEssentials.HttpHelper, 5.2.2"
 
#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@5.2.2
 
#: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=5.2.2
 
Install as a Cake Addin
#tool nuget:?package=CSharpEssentials.HttpHelper&version=5.2.2
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 (1)

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

Package Downloads
CSharpEssentials.HangFireHelper

A library to help you to use HangFire

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.2.2 0 7/3/2026
5.2.0 81 6/29/2026
5.1.1 197 6/19/2026
5.1.0 104 6/16/2026
5.0.8 104 6/13/2026
5.0.7 102 6/11/2026
5.0.6 95 6/10/2026
5.0.5 114 6/6/2026
5.0.3 110 6/2/2026
5.0.2 130 6/1/2026
5.0.1 112 5/31/2026
5.0.0 102 5/31/2026
4.1.2 138 1/20/2026
4.1.0 136 1/20/2026
4.0.12 229 11/26/2025
4.0.11 442 11/19/2025
4.0.10 279 11/16/2025
4.0.9 222 11/15/2025
4.0.8 287 11/14/2025
4.0.7 247 11/4/2025
Loading failed