hashbrown

Hashbrown.AspNetCore · C# API reference

Hashbrown.AspNetCore.HashbrownEndpointConfiguration

Upcoming 0.1.0-preview.2 · Unreleased

public static class HashbrownEndpointConfiguration

Reference configuration composed with the upstream ASP.NET AG-UI integration.

Members

Configure

public static void Configure(Microsoft.Extensions.DependencyInjection.IServiceCollection services);

Registers upstream hosting and native interrupt polymorphism once per service collection for this package baseline.

GetClaim

public static Hashbrown.AspNetCore.InterruptClaim? GetClaim(Microsoft.AspNetCore.Http.HttpContext? context);

Reads the opaque server claim attached to this HTTP request before streaming.

Map

public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder Map(Microsoft.AspNetCore.Routing.IEndpointRouteBuilder routes, string pattern, Microsoft.Agents.AI.AIAgent agent, Hashbrown.AspNetCore.IInterruptStore pending, System.Func<string> scope, System.Collections.Generic.IReadOnlySet<string> serverToolNames);

Validates and claims application-owned confirmations before upstream streaming begins.