Share via


ServerStreamWebSocketInformation.Protocol Property

Definition

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

String

Platform::String

winrt::hstring

The sub-protocol negotiated with the server during WebSocket handshake.

Windows requirements

App capabilities
internetClientServer privateNetworkClientServer

Applies to