TsgcWebSocketClient › Proprietà › Specifications
Seleziona quali specifiche wire WebSocket il client è autorizzato a negoziare.
property Specifications: TsgcWSSpecifications read GetSpecifications write SetSpecifications;
RFC6455=True, Hixie76=False
RFC6455 è la specifica WebSocket standard e consigliata ed è abilitata per impostazione predefinita. Hixie76 è una specifica bozza legacy mantenuta per la compatibilità con browser molto vecchi; lato client questo flag non viene utilizzato e rimane False.
oClient := TsgcWebSocketClient.Create(nil);
oClient.URL := 'wss://www.esegece.com:2053';
oClient.Specifications.RFC6455 := true;
oClient.Active := true;