Quiron.HttpClient
1.2.27
dotnet add package Quiron.HttpClient --version 1.2.27
NuGet\Install-Package Quiron.HttpClient -Version 1.2.27
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="Quiron.HttpClient" Version="1.2.27" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Quiron.HttpClient" Version="1.2.27" />
<PackageReference Include="Quiron.HttpClient" />
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 Quiron.HttpClient --version 1.2.27
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Quiron.HttpClient, 1.2.27"
#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 Quiron.HttpClient@1.2.27
#: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=Quiron.HttpClient&version=1.2.27
#tool nuget:?package=Quiron.HttpClient&version=1.2.27
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
What is the Quiron.HttpClient?
Project created to group endpoint call methods to facilitate the development and consumption of APIs
Give a Star! ⭐
If you find this project useful, please give it a star! It helps us grow and improve the community.
Namespaces and Dependencies
- ✅ Quiron.HttpClient
- ✅ Newtonsoft.Json
- ✅ System.Net.Http
Protected Properties
protected virtual string BaseDomain => string.Empty; // you need to implement your base domain here ⚠️
protected virtual int Timeout => 60;
protected virtual Dictionary<string, string> Headers => new() {
{ "Accept", "application/json" },
{ "Accept-Encoding", "gzip,deflate,br" },
{ "Connection", "keep-alive" }
};
Methods
Task<T?> GetObjectAsync<T>(string endPoint, string token);
Task<T?> PostObjectAsync<T>(string endPoint, object obj, string token = "");
Task<T?> PutObjectAsync<T>(string endPoint, object obj, string token);
Task<T?> PatchObjectAsync<T>(string endPoint, object obj, string token);
Supports:
- ✅ .NET Standard 2.1
- ✅ .NET 9 through 9 (including latest versions)
- ⚠️ Legacy support for .NET Core 3.1 and older (with limitations)
About
Quiron.HttpClient was developed by EliasRMJ under the MIT license.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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.
-
net9.0
- Newtonsoft.Json (>= 13.0.3)
- System.Net.Http (>= 4.3.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
[{statusCode}] Unknown error. Endpoint '{endPoint}'