Skip to main content

handle_messages

Function handle_messages 

Source
fn handle_messages(
    msg: TcpClientMessage,
    connection_id: u64,
    token: SessionID,
) -> Option<TcpServerMessage>
Expand description

Routes general, authorized client messages to appropriate engine functions or command handlers.

ยงArguments

  • msg - The deserialized command.
  • connection_id - The unique identifier of the active connection.
  • token - The verified session identifier of the caller.