TsgcWebSocketClient › Propiedades › Specifications
Selecciona qué especificaciones del protocolo WebSocket puede negociar el cliente.
property Specifications: TsgcWSSpecifications read GetSpecifications write SetSpecifications;
RFC6455=True, Hixie76=False
RFC6455 es la especificación WebSocket estándar y recomendada, habilitada por defecto. Hixie76 es una especificación borrador heredada mantenida por compatibilidad con navegadores muy antiguos; en el lado del cliente, este indicador no se usa y permanece en False.
oClient := TsgcWebSocketClient.Create(nil);
oClient.URL := 'wss://www.esegece.com:2053';
oClient.Specifications.RFC6455 := true;
oClient.Active := true;