Jakar.Http 10.2.0

dotnet add package Jakar.Http --version 10.2.0
                    
NuGet\Install-Package Jakar.Http -Version 10.2.0
                    
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="Jakar.Http" Version="10.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Jakar.Http" Version="10.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Jakar.Http" />
                    
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 Jakar.Http --version 10.2.0
                    
#r "nuget: Jakar.Http, 10.2.0"
                    
#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 Jakar.Http@10.2.0
                    
#: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=Jakar.Http&version=10.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Jakar.Http&version=10.2.0
                    
Install as a Cake Tool

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. Since 10.2.0 it depends on Jakar.Files, Jakar.ErrorOr, Jakar.Core, Jakar.Logging and Jakar.Collections (not Jakar.Extensions; Jakar.Extensions 10.13 depends on it and type-forwards the types that moved).nuget.org/packages/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 its Builder, 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, JsonTape or a [JsonModel] type (AsJson<T>, AsJsonArray<T>, AsJsonList<T>).
  • WebResponse<T> and ErrorResponse: the payload or the errors; Error.TryCreate(WebResponse<T>, ...) builds an Error from a failed response.
  • HeaderCollection, UriExtensions and 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 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. 
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 Jakar.Http:

Package Downloads
Jakar.Extensions

Extensions to aid in development.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.2.0 0 11/18/2026
10.1.0 57 11/16/2026

10.2.0: BREAKING: no longer depends on Jakar.Extensions (Jakar.Files, Jakar.ErrorOr, Jakar.Core, Jakar.Logging, Jakar.Collections instead). Gains IHostInfo; ExceptionDetails now comes from Jakar.Logging. 10.1.0: initial release. Split out of Jakar.Extensions 10.12.0; the types keep the Jakar.Extensions namespace.