TsgcWebSocketClientProperties › Specifications

Specifications Property

Selects which WebSocket wire specifications the client is allowed to negotiate.

Syntax

public TsgcWSSpecifications Specifications { get; set; }

Default Value

RFC6455=True, Hixie76=False

Remarks

RFC6455 is the standard and recommended WebSocket specification and is enabled by default. Hixie76 is a legacy draft specification kept for compatibility with very old browsers; on the client side this flag is effectively unused and stays False.

Example


oClient = new TsgcWebSocketClient();
oClient.URL = "wss://www.esegece.com:2053";
oClient.Specifications.RFC6455 = true;
oClient.Active = true;

Back to Properties