TsgcWebSocketClient › Properties › Specifications
Selects which WebSocket wire specifications the client is allowed to negotiate.
property Specifications: TsgcWSSpecifications read GetSpecifications write SetSpecifications;
RFC6455=True, Hixie76=False
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.
oClient := TsgcWebSocketClient.Create(nil);
oClient.URL := 'wss://www.esegece.com:2053';
oClient.Specifications.RFC6455 := true;
oClient.Active := true;