ServerMessageWebSocketInformation.Protocol Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the WebSocket sub-protocol negotiated with the server during WebSocket handshake on a ServerMessageWebSocket object.
public:
property Platform::String ^ Protocol { Platform::String ^ get(); };
winrt::hstring Protocol();
public string Protocol { get; }
var string = serverMessageWebSocketInformation.protocol;
Public ReadOnly Property Protocol As String
Property Value
The sub-protocol negotiated with the server during the WebSocket handshake.
Windows requirements
App capabilities |
internetClientServer
privateNetworkClientServer
|