Trellis.Http.Abstractions
3.0.0-alpha.513
See the version list below for details.
dotnet add package Trellis.Http.Abstractions --version 3.0.0-alpha.513
NuGet\Install-Package Trellis.Http.Abstractions -Version 3.0.0-alpha.513
<PackageReference Include="Trellis.Http.Abstractions" Version="3.0.0-alpha.513" />
<PackageVersion Include="Trellis.Http.Abstractions" Version="3.0.0-alpha.513" />
<PackageReference Include="Trellis.Http.Abstractions" />
paket add Trellis.Http.Abstractions --version 3.0.0-alpha.513
#r "nuget: Trellis.Http.Abstractions, 3.0.0-alpha.513"
#:package Trellis.Http.Abstractions@3.0.0-alpha.513
#addin nuget:?package=Trellis.Http.Abstractions&version=3.0.0-alpha.513&prerelease
#tool nuget:?package=Trellis.Http.Abstractions&version=3.0.0-alpha.513&prerelease
Trellis.Http.Abstractions
HTTP-aware abstractions for Trellis boundary code.
Installation
dotnet add package Trellis.Http.Abstractions
Trellis.Asp and Trellis.Http reference this package transitively; add it directly only when boundary code needs to construct or inspect these types.
Quick Example
using Trellis;
var error = new Error.TransportFault(
new HttpError.PreconditionRequired(PreconditionKind.IfMatch)
{
Detail = "This operation requires an If-Match header.",
});
Key Features
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. The staticWriteOutcomefactory (WriteOutcome.Updated(value, metadata),Created(...), …) returns the baseWriteOutcome<T>, so write results bind theResult<WriteOutcome<T>>response overloads without a cast.Error.TransportFault(ITransportFault)integration viaHttpError : ITransportFault.
Documentation
| 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
- OpenTelemetry.Api (>= 1.18.0)
- Trellis.Core (>= 3.0.0-alpha.513)
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, rate-limit rejection handling, scalar value validation, JSON converters (with bundled AOT source generator), and ASP.NET actor providers (Claims, Entra, Easy Auth, 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.527 | 39 | 10/1/2026 |
| 3.0.0-alpha.526 | 36 | 9/30/2026 |
| 3.0.0-alpha.524 | 71 | 9/27/2026 |
| 3.0.0-alpha.520 | 97 | 9/25/2026 |
| 3.0.0-alpha.516 | 186 | 9/22/2026 |
| 3.0.0-alpha.513 | 88 | 9/22/2026 |
| 3.0.0-alpha.505 | 204 | 9/13/2026 |
| 3.0.0-alpha.495 | 276 | 8/24/2026 |
| 3.0.0-alpha.458 | 249 | 8/19/2026 |
| 3.0.0-alpha.455 | 163 | 8/19/2026 |
| 3.0.0-alpha.449 | 113 | 8/18/2026 |
| 3.0.0-alpha.447 | 118 | 8/18/2026 |
| 3.0.0-alpha.432 | 175 | 7/6/2026 |
| 3.0.0-alpha.428 | 148 | 7/3/2026 |
| 3.0.0-alpha.425 | 176 | 6/27/2026 |
| 3.0.0-alpha.419 | 106 | 6/24/2026 |
| 3.0.0-alpha.418 | 261 | 6/23/2026 |
| 3.0.0-alpha.417 | 95 | 6/23/2026 |
| 3.0.0-alpha.397 | 153 | 6/18/2026 |
| 3.0.0-alpha.396 | 96 | 6/18/2026 |