TsgcWSPServer_E2EE › Events › OnE2EEMessageOut
Fired just before an encrypted E2EE packet is relayed to a destination client.
property OnE2EEMessageOut: TsgcWSE2EEOnServerMessageOut;
// TsgcWSE2EEOnServerMessageOut = procedure(Sender: TObject; const aText: string) of object
—
Triggered when the server is about to write a subprotocol packet to a destination connection — for example relaying a direct or group encrypted payload, broadcasting a newly received public key, or emitting an acknowledgment. Payload bodies stay encrypted; the server only routes. Useful for tracing outbound traffic.
procedure TfrmServerE2EE.WSPE2EEE2EEMessageOut(Sender: TObject; const aText: string);
begin
MemoLog.Lines.Add('--> ' + aText);
end;