IStreamingTransportServer 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
由与 Bot Framework 协议 3 和流式处理扩展兼容的服务器实现。
public interface IStreamingTransportServer
type IStreamingTransportServer = interface
Public Interface IStreamingTransportServer
- 派生
方法
SendAsync(StreamingRequest, CancellationToken) |
用于通过此服务器连接发送数据的任务。 |
StartAsync() |
用于建立此服务器使用的连接并开始侦听传入消息。 |
事件
Disconnected |
用于在基础连接断开连接时发出信号的事件。 |