ReadableHttp 2.0.0

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

ReadableHttp

ReadableHttp is the core SDK package. It contains the request model, response model, execution engine, streaming support, variable resolution, and a small fluent facade for direct .NET usage.

Install

dotnet add package ReadableHttp --version 2.0.0

Send A Request

using ReadableHttp;

var exchange = await ReadableHttpClient
    .Request("https://api.example.com/users/42")
    .Get()
    .WithHeader("accept", "application/json")
    .SendExchangeAsync();

Console.WriteLine(exchange.Response?.StatusCode);
Console.WriteLine(exchange.Response?.BodyText);

Use The Execution Model Directly

using ReadableHttp;
using ReadableHttp.Execution;

var request = new ReadableRequest
{
    Method = "GET",
    Url = "{{baseUrl}}/users/{{userId}}",
    Query =
    [
        new ReadableNameValue { Name = "include", Value = "profile" }
    ]
};

var context = new ReadableExecutionContext
{
    Variables =
    {
        ["baseUrl"] = "https://api.example.com",
        ["userId"] = "42"
    }
};

var exchange = await new ReadableHttpExecutor()
    .SendExchangeAsync(request, context);

Streaming

using ReadableHttp;

await foreach (var message in ReadableHttpClient
    .Request("https://api.example.com/events")
    .Get()
    .StreamAsync(ReadableStreamFormat.ServerSentEvents))
{
    if (message.Type == ReadableStreamMessageType.Data)
    {
        Console.WriteLine(message.Data);
    }
}

Included File Schemas

The package includes JSON schemas for ReadableHttp request, environment, and workspace files under the schemas/ package folder.

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.
  • net10.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on ReadableHttp:

Package Downloads
ReadableHttp.ImportExport

Import and export helpers for .http, curl, OpenAPI, and Swagger formats.

ReadableHttp.Auth

OAuth2, PKCE, and localhost callback helpers for ReadableHttp.

ReadableHttp.AspNetCore

ASP.NET Core dependency injection integration for ReadableHttp.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 132 6/23/2026