Azure.AI.AgentServer.Invocations Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
| Name | Description |
|---|---|
| InvocationContext |
Per-request context for an invocation, carrying platform-resolved identifiers, forwarded client headers, and query parameters. |
| InvocationHandler |
Base class for handling invocation requests. Only HandleAsync(HttpRequest, HttpResponse, InvocationContext, CancellationToken) is required. Override the optional methods to opt in to GET, cancel, and OpenAPI endpoints (they return 404 by default). |
| InvocationsBuilderExtensions |
Extension methods for AgentHostBuilder to register the Invocations protocol for one-line startup. |
| InvocationsServer |
One-line entry point for running an Invocations protocol server. Creates the builder, registers the Invocations protocol with the specified handler, builds, and runs the server. |
| InvocationsServerEndpointRouteBuilderExtensions |
Extension methods for IEndpointRouteBuilder to map the Invocations API routes. |
| InvocationsServerOptions |
Configuration options for the Invocations protocol server. |
| InvocationsServerServiceCollectionExtensions |
Extension methods for IServiceCollection to register the Invocations API server SDK services. |
| InvocationWebSocketHandler |
Base class for handlers that opt in to the |