ClientWebSocket.SubProtocol Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the supported WebSocket sub-protocol for the ClientWebSocket instance.

Namespace:   System.Net.WebSockets
Assembly:  System (in System.dll)

override SubProtocol : string with get

Property Value

Type: System.String

Returns String.

The supported WebSocket sub-protocol.

.NET Framework
Available since 4.5
Return to top