Share via


DevicePortalConnectionRequestReceivedEventArgs.WebSocketProtocolsRequested Property

Definition

Gets a list of the sub-protocols that the WebSocket is requested to follow.

public:
 property IVectorView<Platform::String ^> ^ WebSocketProtocolsRequested { IVectorView<Platform::String ^> ^ get(); };
IVectorView<winrt::hstring> WebSocketProtocolsRequested();
public IReadOnlyList<string> WebSocketProtocolsRequested { get; }
var iVectorView = devicePortalConnectionRequestReceivedEventArgs.webSocketProtocolsRequested;
Public ReadOnly Property WebSocketProtocolsRequested As IReadOnlyList(Of String)

Property Value

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

A list of strings representing WebSocket sub-protocols.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Applies to