Corvus.Text.Json.OpenApi.HttpTransport 5.1.13

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

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 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

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.1.13 0 6/9/2026
5.1.12 34 6/8/2026
5.1.11 46 6/7/2026
5.1.10 39 6/7/2026
5.1.9 55 6/6/2026
5.1.8 36 6/5/2026
5.1.7 40 6/5/2026
5.1.6 41 6/4/2026
5.1.5 85 6/2/2026
5.1.4 92 6/2/2026
5.1.3 95 5/31/2026
5.1.2 92 5/31/2026
5.1.1 103 5/31/2026
5.1.0 106 5/28/2026