Corvus.Text.Json.OpenApi.HttpTransport
5.2.4
See the version list below for details.
dotnet add package Corvus.Text.Json.OpenApi.HttpTransport --version 5.2.4
NuGet\Install-Package Corvus.Text.Json.OpenApi.HttpTransport -Version 5.2.4
<PackageReference Include="Corvus.Text.Json.OpenApi.HttpTransport" Version="5.2.4" />
<PackageVersion Include="Corvus.Text.Json.OpenApi.HttpTransport" Version="5.2.4" />
<PackageReference Include="Corvus.Text.Json.OpenApi.HttpTransport" />
paket add Corvus.Text.Json.OpenApi.HttpTransport --version 5.2.4
#r "nuget: Corvus.Text.Json.OpenApi.HttpTransport, 5.2.4"
#:package Corvus.Text.Json.OpenApi.HttpTransport@5.2.4
#addin nuget:?package=Corvus.Text.Json.OpenApi.HttpTransport&version=5.2.4
#tool nuget:?package=Corvus.Text.Json.OpenApi.HttpTransport&version=5.2.4
Corvus.Text.Json.OpenApi.HttpTransport
HttpClient-based transport implementation for Corvus OpenAPI generated clients.
Usage
using Corvus.Text.Json.OpenApi;
using Corvus.Text.Json.OpenApi.HttpTransport;
await using var transport = new HttpClientTransport(new HttpClient
{
BaseAddress = new Uri("https://api.example.com"),
});
var client = new PetstorePetsClient(transport);
using ApiResponse response = await client.ListPetsAsync();
response.EnsureSuccess();
using var doc = ParsedJsonDocument<Pets>.Parse(response.Body);
// ... work with doc.RootElement ...
Design
This package provides a single type — HttpClientTransport — that bridges generated client code to System.Net.Http.HttpClient. Response bodies are read into ArrayPool<byte>-rented buffers, enabling zero-copy parsing via ParsedJsonDocument<T>.Parse(ReadOnlyMemory<byte>).
The transport is shipped in a separate assembly so consumers don't pull in HTTP dependencies unless they need them. Alternative transports (e.g. for testing, gRPC, or message queues) can implement IApiTransport independently.
| 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
- Corvus.Text.Json.OpenApi (>= 5.2.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.5.3 | 0 | 9/1/2026 |
| 5.5.2 | 37 | 8/30/2026 |
| 5.5.1 | 39 | 8/30/2026 |
| 5.5.0 | 51 | 8/27/2026 |
| 5.4.3 | 46 | 8/26/2026 |
| 5.4.2 | 60 | 8/26/2026 |
| 5.4.1 | 85 | 8/20/2026 |
| 5.4.0 | 84 | 8/19/2026 |
| 5.3.2 | 102 | 8/10/2026 |
| 5.3.1 | 94 | 8/5/2026 |
| 5.3.0 | 139 | 8/5/2026 |
| 5.2.13 | 106 | 8/2/2026 |
| 5.2.12 | 103 | 8/1/2026 |
| 5.2.10 | 105 | 7/26/2026 |
| 5.2.9 | 109 | 7/22/2026 |
| 5.2.7 | 176 | 7/12/2026 |
| 5.2.6 | 111 | 7/11/2026 |
| 5.2.5 | 113 | 7/7/2026 |
| 5.2.4 | 194 | 7/6/2026 |
| 5.2.3 | 115 | 6/27/2026 |