InvocationsServerEndpointRouteBuilderExtensions.MapInvocationsServer Method

Definition

Maps the Invocations API routes to the endpoint routing pipeline.

public static Microsoft.AspNetCore.Routing.RouteGroupBuilder MapInvocationsServer(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string? prefix = default);
static member MapInvocationsServer : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string -> Microsoft.AspNetCore.Routing.RouteGroupBuilder
<Extension()>
Public Function MapInvocationsServer (endpoints As IEndpointRouteBuilder, Optional prefix As String = Nothing) As RouteGroupBuilder

Parameters

endpoints
IEndpointRouteBuilder

The endpoint route builder to map routes on.

prefix
String

Optional route prefix (e.g., "/v1"). Default: empty (routes at /invocations).

Returns

A RouteGroupBuilder for further endpoint configuration.

Applies to