ReadableHttp 2.0.0
dotnet add package ReadableHttp --version 2.0.0
NuGet\Install-Package ReadableHttp -Version 2.0.0
<PackageReference Include="ReadableHttp" Version="2.0.0" />
<PackageVersion Include="ReadableHttp" Version="2.0.0" />
<PackageReference Include="ReadableHttp" />
paket add ReadableHttp --version 2.0.0
#r "nuget: ReadableHttp, 2.0.0"
#:package ReadableHttp@2.0.0
#addin nuget:?package=ReadableHttp&version=2.0.0
#tool nuget:?package=ReadableHttp&version=2.0.0
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 | 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
- 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 |