ServerStreamWebSocketInformation.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 ServerStreamWebSocketobject.
public:
property Platform::String ^ Protocol { Platform::String ^ get(); };
winrt::hstring Protocol();
public string Protocol { get; }
var string = serverStreamWebSocketInformation.protocol;
Public ReadOnly Property Protocol As String
Property Value
The sub-protocol negotiated with the server during WebSocket handshake.
Windows requirements
App capabilities |
internetClientServer
privateNetworkClientServer
|