ChannelApiController(IChannelApiHandler) Constructor

Definition

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.

Applies to