Adds subprotocol to a list of subprotocols to be announced to the server.

Namespace:  Rebex.Net
Assembly:  Rebex.WebSocket (in Rebex.WebSocket.dll)

Syntax

Visual Basic
Public Sub AddSubProtocol ( _
	subProtocol As String _
)
C#
public void AddSubProtocol(
	string subProtocol
)

Parameters

subProtocol
Type: System..::..String
Subprotocol name.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also