HttpContextBase.WebSocketNegotiatedProtocol 属性

定义

在派生类中实现时,为 AspNetWebSocket 连接获取从服务器发送到客户端的协商协议。

public:
 virtual property System::String ^ WebSocketNegotiatedProtocol { System::String ^ get(); };
public virtual string WebSocketNegotiatedProtocol { get; }
member this.WebSocketNegotiatedProtocol : string
Public Overridable ReadOnly Property WebSocketNegotiatedProtocol As String

属性值

String

协商协议。

适用于