AspNetWebSocketContext.IsSecureConnection 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示 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
属性值
如果连接使用 WSS,则为 true
;否则为 false
。
例外
未实现该属性。