Kampute.HttpClient
3.2.0
dotnet add package Kampute.HttpClient --version 3.2.0
NuGet\Install-Package Kampute.HttpClient -Version 3.2.0
<PackageReference Include="Kampute.HttpClient" Version="3.2.0" />
<PackageVersion Include="Kampute.HttpClient" Version="3.2.0" />
<PackageReference Include="Kampute.HttpClient" />
paket add Kampute.HttpClient --version 3.2.0
#r "nuget: Kampute.HttpClient, 3.2.0"
#:package Kampute.HttpClient@3.2.0
#addin nuget:?package=Kampute.HttpClient&version=3.2.0
#tool nuget:?package=Kampute.HttpClient&version=3.2.0
Kampute.HttpClient
A .NET REST client built on HttpClient, with shared connections, scoped headers and properties, configurable retries, error handlers, and request/response events.
Documentation · Getting started · API reference
Installation
dotnet add package Kampute.HttpClient
Usage
Read a response as text without a content formatter. Replace the example URL with your API.
using Kampute.HttpClient;
using var client = new HttpRestClient();
var text = await client.GetAsStringAsync("https://api.example.com/resource");
The core package registers no content formatter. For typed responses, call UseXml() from Kampute.HttpClient.Xml, or install a JSON extension and register its formatter.
Documentation
- Content formats: XML, JSON packages, and custom formatters.
- Request customization: temporary headers, properties, and events.
- Error handling: retries after connection failures, and recovery from HTTP error responses.
License
Kampute.HttpClient is released under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Kampute.Resilience (>= 1.1.0)
-
net10.0
- Kampute.Resilience (>= 1.1.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Kampute.HttpClient:
| Package | Downloads |
|---|---|
|
Kampute.HttpClient.NewtonsoftJson
This package is an extension package for Kampute.HttpClient, enhancing it to manage application/json content types, using Newtonsoft.Json library for serialization and deserialization of JSON responses and payloads. |
|
|
Kampute.HttpClient.DataContract
This package is an extension package for Kampute.HttpClient, enhancing it to manage application/xml content types, using DataContractSerializer for serialization and deserialization of XML responses and payloads. |
|
|
Kampute.HttpClient.Json
This package is an extension package for Kampute.HttpClient, enhancing it to manage application/json content types, using System.Text.Json library for serialization and deserialization of JSON responses and payloads. |
|
|
Kampute.HttpClient.Xml
This package is an extension package for Kampute.HttpClient, enhancing it to manage application/xml content types, using XmlSerializer for serialization and deserialization of XML responses and payloads. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.2.0 | 176 | 10/8/2026 |
| 3.1.0 | 198 | 10/7/2026 |
| 3.0.0 | 204 | 10/5/2026 |
| 2.5.1 | 383 | 7/7/2026 |
| 2.5.0 | 518 | 12/21/2025 |
| 2.4.0 | 433 | 11/15/2025 |
| 2.3.2 | 460 | 11/10/2025 |
| 2.3.1 | 920 | 7/27/2024 |
| 2.3.0 | 569 | 5/11/2024 |
| 2.2.1 | 510 | 5/8/2024 |
| 2.2.0 | 431 | 5/7/2024 |
| 2.1.1 | 497 | 5/6/2024 |
| 2.1.0 | 492 | 5/6/2024 |
| 2.0.0 | 501 | 5/5/2024 |
| 1.6.0 | 594 | 4/14/2024 |
| 1.5.0 | 447 | 4/2/2024 |
| 1.4.1 | 489 | 3/20/2024 |
| 1.4.0 | 503 | 3/19/2024 |
| 1.3.0 | 491 | 3/17/2024 |
| 1.2.0 | 510 | 3/16/2024 |
For detailed release notes, please visit https://github.com/kampute/http-client/releases