다음을 통해 공유


IClientWebSocketOptions.AddSubProtocol(String) Method

Definition

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

public void AddSubProtocol (string subProtocol);
abstract member AddSubProtocol : string -> unit
Public Sub AddSubProtocol (subProtocol As String)

Parameters

subProtocol
String

The WebSocket sub-protocol to add.

Applies to