C-DEngine 5.105

WebSocketBehavior..::..Protocol Property

Gets or sets the WebSocket subprotocol used in the WebSocket service.

Namespace:  WebSocketSharp.Server
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public string Protocol { get; set; }
Public Property Protocol As String
	Get
	Set
public:
property String^ Protocol {
	String^ get ();
	void set (String^ value);
}

Field Value

A String that represents the subprotocol if any. The default value is Empty.

The value to set must be a token defined in RFC 2616.

Remarks


Set operation of this property is available before the WebSocket connection has been established.