InvocationHandler Class
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.
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).
public abstract class InvocationHandler
type InvocationHandler = class
Public MustInherit Class InvocationHandler
- Inheritance
-
InvocationHandler
- Derived
Remarks
To opt in to the invocations_ws (WebSocket) transport, derive from InvocationWebSocketHandler instead.
Constructors
| Name | Description |
|---|---|
| InvocationHandler() | |
Methods
| Name | Description |
|---|---|
| CancelAsync(String, HttpRequest, HttpResponse, InvocationContext, CancellationToken) |
Handles |
| GetAsync(String, HttpRequest, HttpResponse, InvocationContext, CancellationToken) |
Handles |
| GetOpenApiAsync(HttpRequest, HttpResponse, CancellationToken) |
Handles |
| HandleAsync(HttpRequest, HttpResponse, InvocationContext, CancellationToken) |
Handles a |