xo::MessageRelay method encode_message (public)

 <instance of xo::MessageRelay[i]> encode_message mode msg

Defined in packages/xotcl-core/tcl/message-relay-procs.tcl

Provide different "encoding" depending on the mode. Notice that for one chat, multiple clients might have difference modes, since the modes are determined at also by the capabilities of the client browser. So the incoming message has to be recoded multiple times.

Parameters:
mode
msg

Partial Call Graph (max 5 caller/called nodes):
%3 security::csp::nonce security::csp::nonce (public) xo::MessageRelay instproc encode_message xo::MessageRelay instproc encode_message xo::MessageRelay instproc encode_message->security::csp::nonce

Testcases:
No testcase defined.
[ show source ]
Show another procedure: