MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ MessageHandler

using Lila::Server::MessageHandler = std::function<std::expected<std::string, std::string>(std::string_view)>

Handler for processing incoming client messages.

Parameters
messageThe message received from the client
Returns
Expected response string or error string

The message handler is invoked for each message received from a client. It typically forwards code snippets to the interpreter and returns the result.

Definition at line 51 of file Server.hpp.