La forma más sencilla de conectarse a un servidor WebSocket es usar la propiedad URL y establecer Active = true.
Ejemplo: conectar a www.esegece.com mediante una conexión segura.
oClient := TsgcWebSocketClient.Create(nil);
oClient.URL := 'wss://www.esegece.com:2053';
oClient.Active := true;
Puede conectarse a un servidor WebSocket mediante las propiedades Host y port.
Ejemplo: conectarse a www.esegece.com usando conexiones seguras
oClient := TsgcWebSocketClient.Create(nil);
oClient.Host := 'www.esegece.com';
oClient.Port := 2053;
oClient.TLS := true;
oClient.Active := true;