ResponseHandler 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.
Defines the contract for handling response creation requests. Override this class and register it in DI to provide your agent logic.
public abstract class ResponseHandler
type ResponseHandler = class
Public MustInherit Class ResponseHandler
- Inheritance
-
ResponseHandler
Constructors
| Name | Description |
|---|---|
| ResponseHandler() | |
Methods
| Name | Description |
|---|---|
| CreateAsync(CreateResponse, ResponseContext, CancellationToken) |
Processes a response creation request and yields the full event stream. |