IConnectionLifetimeNotificationFeature 接口

定义

启用正常终止连接。

public interface class IConnectionLifetimeNotificationFeature
public interface IConnectionLifetimeNotificationFeature
type IConnectionLifetimeNotificationFeature = interface
Public Interface IConnectionLifetimeNotificationFeature

属性

ConnectionClosedRequested

获取或设置在 CancellationToken 请求关闭连接时将触发的 。

方法

RequestClose()

请求关闭连接。

适用于