ClientWebSocketOptions.AddSubProtocol(String) Method      
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.
Adds a sub-protocol to be negotiated during the WebSocket connection handshake.
public:
 void AddSubProtocol(System::String ^ subProtocol);
	public void AddSubProtocol(string subProtocol);
	member this.AddSubProtocol : string -> unit
	Public Sub AddSubProtocol (subProtocol As String)
	Parameters
- subProtocol
 - String
 
The WebSocket sub-protocol to add.