InvocationsServerEndpointRouteBuilderExtensions.MapInvocationsServer Method
Definition
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.
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.