IMultiplexedConnectionListener 接口

定义

定义一个接口,该接口表示绑定到特定 EndPoint的侦听器。

public interface IMultiplexedConnectionListener : IAsyncDisposable
type IMultiplexedConnectionListener = interface
    interface IAsyncDisposable
Public Interface IMultiplexedConnectionListener
Implements IAsyncDisposable
实现

属性

EndPoint

绑定的终结点。 这可能不同于请求的终结点,例如调用方请求选择任何可用端口时。

方法

AcceptAsync(IFeatureCollection, CancellationToken)

开始异步操作以接受传入连接。

UnbindAsync(CancellationToken)

停止侦听传入连接。

适用于