Trellis.Http.Abstractions
3.0.0-alpha.382
dotnet add package Trellis.Http.Abstractions --version 3.0.0-alpha.382
NuGet\Install-Package Trellis.Http.Abstractions -Version 3.0.0-alpha.382
<PackageReference Include="Trellis.Http.Abstractions" Version="3.0.0-alpha.382" />
<PackageVersion Include="Trellis.Http.Abstractions" Version="3.0.0-alpha.382" />
<PackageReference Include="Trellis.Http.Abstractions" />
paket add Trellis.Http.Abstractions --version 3.0.0-alpha.382
#r "nuget: Trellis.Http.Abstractions, 3.0.0-alpha.382"
#:package Trellis.Http.Abstractions@3.0.0-alpha.382
#addin nuget:?package=Trellis.Http.Abstractions&version=3.0.0-alpha.382&prerelease
#tool nuget:?package=Trellis.Http.Abstractions&version=3.0.0-alpha.382&prerelease
Trellis.Http.Abstractions
HTTP-aware abstractions for Trellis boundary code.
What it provides
HttpError— closed union of HTTP transport failures (405,406,412,413,415,416,428).AuthChallenge,EntityTagValue,PreconditionKind,RetryAfterValue— reusable HTTP payload/value types.AggregateETagExtensions,RepresentationMetadata,WriteOutcome<T>— conditional-request and response-shaping helpers shared by server/client packages.Error.TransportFault(ITransportFault)integration viaHttpError : ITransportFault.
Quick example
using Trellis;
var error = new Error.TransportFault(
new HttpError.PreconditionRequired(PreconditionKind.IfMatch)
{
Detail = "This operation requires an If-Match header.",
});
| 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
- Trellis.Core (>= 3.0.0-alpha.382)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Trellis.Http.Abstractions:
| Package | Downloads |
|---|---|
|
Trellis.Asp
ASP.NET Core integration for Trellis. Result-to-HTTP response mapping, scalar value validation, JSON converters (with bundled AOT source generator), and ASP.NET actor providers (Claims, Entra, Development) for Trellis.Authorization. |
|
|
Trellis.Http
HTTP client extensions for Railway Oriented Programming. Provides fluent extension methods to handle HttpResponseMessage with Result and Maybe monads, including error handling for specific status codes and JSON deserialization. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0-alpha.382 | 51 | 6/12/2026 |
| 3.0.0-alpha.372 | 63 | 6/10/2026 |
| 3.0.0-alpha.360 | 123 | 6/7/2026 |
| 3.0.0-alpha.342 | 108 | 6/5/2026 |
| 3.0.0-alpha.337 | 75 | 6/3/2026 |
| 3.0.0-alpha.336 | 64 | 6/3/2026 |
| 3.0.0-alpha.304 | 84 | 5/29/2026 |