AspNetWebSocketContext.IsSecureConnection 属性

定义

获取一个值,该值指示 AspNetWebSocket 连接是否使用 WebSocket 安全协议 (WSS)。

public:
 virtual property bool IsSecureConnection { bool get(); };
public override bool IsSecureConnection { get; }
member this.IsSecureConnection : bool
Public Overrides ReadOnly Property IsSecureConnection As Boolean

属性值

Boolean

如果连接使用 WSS,则为 true;否则为 false

例外

未实现该属性。

适用于