TsgcWebSocketClient › Özellikler › Specifications
İstemcinin anlaşmasına izin verilen WebSocket wire belirtimlerini seçer.
property Specifications: TsgcWSSpecifications read GetSpecifications write SetSpecifications;
RFC6455=True, Hixie76=False
RFC6455, standart ve önerilen WebSocket spesifikasyonudur ve varsayılan olarak etkindir. Hixie76, çok eski tarayıcılarla uyumluluk için tutulan eski bir taslak spesifikasyondur; istemci tarafında bu bayrak fiilen kullanılmaz ve False olarak kalır.
oClient := TsgcWebSocketClient.Create(nil);
oClient.URL := 'wss://www.esegece.com:2053';
oClient.Specifications.RFC6455 := true;
oClient.Active := true;