System.Net.WebSockets.ClientWebSocketOptions.AddSubProtocol Method

Adds a sub-protocol to be negotiated during the WebSocket connection handshake.

Syntax

public void AddSubProtocol (string subProtocol)

Parameters

subProtocol
The WebSocket sub-protocol to add.

Remarks

Documentation for this section has not yet been entered.

Requirements

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