TsgcWSPClient_E2EE › Properties › Client
WebSocket client component used as transport for the E2EE subprotocol.
property Client: TsgcWSComponent_WSClient read FClient write SetClient;
—
Drop a TsgcWebSocketClient on the form and assign it to this property so the E2EE subprotocol component can send and receive frames through it. The connection must be opened on the Client itself; this component only layers the end-to-end encryption envelope (user registration, key exchange, direct and group messaging) on top of the existing WebSocket transport.
oE2EE := TsgcWSPClient_E2EE.Create(nil);
oE2EE.Client := sgcWebSocketClient1;
sgcWebSocketClient1.Active := True;