ChannelApiController(IChannelApiHandler) Constructor
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.
This contains the routes for the ChannelAPI. These are the endpoints that ConnectorClient uses in the case of a Agent-to-Agent. The implementation of this is via IChannelApiHandler. See the Microsoft.Agents.Builder.ProxyChannelApiHandler class for an example of this for Dialogs.SkillDialog and Agent-to-Agent. IConnectorClient
public ChannelApiController(Microsoft.Agents.Builder.IChannelApiHandler handler);
new Microsoft.Agents.Hosting.AspNetCore.ChannelApiController : Microsoft.Agents.Builder.IChannelApiHandler -> Microsoft.Agents.Hosting.AspNetCore.ChannelApiController
Public Sub New (handler As IChannelApiHandler)
Parameters
- handler
- IChannelApiHandler
A IChannelApiHandler that will handle the incoming request.
Remarks
Initializes a new instance of the ChannelApiController class.