TsgcWebSocketLoadBalancerServer › Properties › Specifications
Enables or disables the WebSocket protocol specifications the load balancer will accept from downstream clients.
property Specifications: TsgcWSSpecifications read GetSpecifications write SetSpecifications;
RFC6455=True, Hixie76=True
Keep RFC6455 enabled — this is the standard, recommended WebSocket specification and the one spoken by every modern client as well as by sgcWebSockets backends during registration. Hixie76 is an obsolete draft only useful for legacy browsers such as Safari 4.2; disable it unless you specifically need that compatibility. The handshake negotiates which specification is used per connection; if the client requests a spec that is disabled the handshake fails and the connection is rejected before a backend is selected.
oServer := TsgcWebSocketLoadBalancerServer.Create(nil);
oServer.Specifications.RFC6455 := true;
oServer.Specifications.Hixie76 := false;
oServer.Active := true;