FluxFlow.Components.Http.Composition 6.0.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package FluxFlow.Components.Http.Composition --version 6.0.0
                    
NuGet\Install-Package FluxFlow.Components.Http.Composition -Version 6.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="FluxFlow.Components.Http.Composition" Version="6.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluxFlow.Components.Http.Composition" Version="6.0.0" />
                    
Directory.Packages.props
<PackageReference Include="FluxFlow.Components.Http.Composition" />
                    
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 FluxFlow.Components.Http.Composition --version 6.0.0
                    
#r "nuget: FluxFlow.Components.Http.Composition, 6.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 FluxFlow.Components.Http.Composition@6.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=FluxFlow.Components.Http.Composition&version=6.0.0
                    
Install as a Cake Addin
#tool nuget:?package=FluxFlow.Components.Http.Composition&version=6.0.0
                    
Install as a Cake Tool

FluxFlow.Components.Http.Composition

Composition registration and Designer metadata for the canonical HTTP client node. The adapter resolves host-owned keyed HttpClient and optional TimeProvider resources; it does not create clients, own their lifetime, or choose transport, authentication, retry, redirect, TLS, proxy, or endpoint security policy.

Definitions and Designer palettes use the exact canonical type http.request. The retired http.client value is rejected and must be migrated before load.

Canonical Registration

services.AddKeyedSingleton<HttpClient>(
    "Resources.External.ApiClient",
    httpClient);
services.AddFluxFlowComponents().AddHttp();
Type Node Input Output Resources
http.request HttpClientNode HttpClientRequest HttpResponseResult or FlowError required client, optional clock

The descriptor exposes Events and no universal Errors surface. Expected request and transport failures are HttpClientFailureResult values on Output. The runtime does not add an implicit mapper or serializer.

Flat Definition

{
  "Resources": {
    "External": {
      "ApiClient": {
        "Type": "host.http_client",
        "baseAddress": "https://api.example.com/"
      }
    }
  },
  "Workflows": {
    "OrderProcessing": {
      "BuildRequest": {
        "Type": "order.http_request",
        "Output": "CallApi.Input"
      },
      "CallApi": {
        "Type": "http.request",
        "client": "Resources.External.ApiClient",
        "maxResponseBodyBytes": 1048576,
        "treatNonSuccessStatusAsError": false,
        "defaultTimeoutMilliseconds": 30000,
        "Output": ["HandleResult.Input", "Audit.Input"]
      },
      "HandleResult": {
        "Type": "order.http_result"
      },
      "Audit": {
        "Type": "audit.result"
      }
    }
  }
}

Resources, node options, resource references, and links use the canonical flat document shape. The referenced host.http_client, request builder, result handler, and audit types are host examples rather than types supplied by this package. The host resolves the exact Resources.External.ApiClient address as a keyed HttpClient.

HttpClientRequest carries method, URL, headers, optional exact FlowContent body, and optional per-message timeout at runtime. Link conditions or mappers can branch on IsError, Kind, Error.Code, response status, or other result content without a special error edge.

Invalid numeric options fail activation and surface as composition factory diagnostics when build failures are configured as diagnostics.

Design Metadata

Hosts should compose this provider through ComponentDesignMetadataCatalog. The canonical catalog adds the traced Events output and an optional semantic processing profile picker, exposes boundedCapacity as an advanced runtime control, and omits legacy name, maxDegreeOfParallelism, and ensureOrdered options from normal editing. Default execution requires no processing profile.

HttpComponentDefinition describes the canonical fixed ports, runtime/limit/timeout option hints, required host-owned client picker, and optional host-owned clock picker. Metadata remains descriptive. Hosts own palettes, inspectors, validation UI, resource selection, persistence, activation, and runtime status display.

DI Registration

This optional application-integration adapter registers its immutable ComponentDescriptor entries and explicit HttpComponentDefinition declarations through IServiceCollection:

services.AddFluxFlowComponents().AddHttp();

The resulting ComponentCatalog is built once from DI registrations. Standalone runtime nodes remain usable without this package, and referenced external resources remain host-owned.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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
8.0.0-rc.1 59 9/5/2026
7.0.0-rc.1 69 8/9/2026
6.0.0 123 8/3/2026
1.4.0 115 7/3/2026
1.3.0 120 7/2/2026

Requires http.request; registers exact descriptors and Designer metadata through the flat designed-component API; keeps constants under HttpComponentDefinition and removes its metadata-only factory.