TsgcWebSocketClientPropiedades › Specifications

Specifications Propiedad

Selecciona qué especificaciones del protocolo WebSocket puede negociar el cliente.

Sintaxis

property Specifications: TsgcWSSpecifications read GetSpecifications write SetSpecifications;

Valor Predeterminado

RFC6455=True, Hixie76=False

Observaciones

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.

Ejemplo


oClient := TsgcWebSocketClient.Create(nil);
oClient.URL := 'wss://www.esegece.com:2053';
oClient.Specifications.RFC6455 := true;
oClient.Active := true;

Volver a Propiedades