Jakar.Http
10.1.0
See the version list below for details.
dotnet add package Jakar.Http --version 10.1.0
NuGet\Install-Package Jakar.Http -Version 10.1.0
<PackageReference Include="Jakar.Http" Version="10.1.0" />
<PackageVersion Include="Jakar.Http" Version="10.1.0" />
<PackageReference Include="Jakar.Http" />
paket add Jakar.Http --version 10.1.0
#r "nuget: Jakar.Http, 10.1.0"
#:package Jakar.Http@10.1.0
#addin nuget:?package=Jakar.Http&version=10.1.0
#tool nuget:?package=Jakar.Http&version=10.1.0
Jakar.Http
An HttpClient-based requester (WebRequester) with retries, typed JSON bodies on Jakar.Json, and WebResponse<T> results that carry their errors.
dotnet add package Jakar.Http
Split out of Jakar.Extensions in 10.12.0. It depends on Jakar.Extensions, Jakar.Files and Jakar.ErrorOr. The types keep the Jakar.Extensions namespace, so code that used them from Jakar.Extensions only needs this package reference (and a recompile).
What's in it
WebRequester(and itsBuilder,RetryPolicy,WebRequesterOptions): GET/POST/PUT/PATCH/DELETE against a host, with JSON bodies written by Jakar.Json.WebHandler: reads the response as a string, bytes, stream, file,JsonTapeor a[JsonModel]type (AsJson<T>,AsJsonArray<T>,AsJsonList<T>).WebResponse<T>andErrorResponse: the payload or the errors;Error.TryCreate(WebResponse<T>, ...)builds anErrorfrom a failed response.HeaderCollection,UriExtensionsand the networking exceptions.
Status, Statuses and the MIME types stay in Jakar.Extensions.
Versioning
Versions are <.NET major>.<library major>.<library minor>: a breaking change bumps the middle number (10.1.0 → 10.2.0), anything else the last one.
Repository
| Path | What it is |
|---|---|
Jakar.Http/ |
The package. |
Jakar.Http.Tests/ |
NUnit tests. |
.github/workflows/ci.yml |
Build and test on Ubuntu and Windows, for every push and pull request. |
.github/workflows/publish.yml |
On master: CI, then pack and push to nuget.org (Trusted Publishing). |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- Jakar.ErrorOr (>= 10.1.0)
- Jakar.Extensions (>= 10.12.0)
- Jakar.Files (>= 10.1.0)
- JetBrains.Annotations (>= 2026.2.0)
- Microsoft.Extensions.Configuration.Binder (>= 11.0.0)
- Microsoft.Extensions.Http (>= 10.0.13)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Jakar.Http:
| Package | Downloads |
|---|---|
|
Jakar.Extensions
Extensions to aid in development. |
GitHub repositories
This package is not used by any popular GitHub repositories.
10.1.0: initial release. Split out of Jakar.Extensions 10.12.0; the types keep the Jakar.Extensions namespace.