mirror of
https://gitlab.com/splashmapper/splash.git
synced 2026-06-16 12:33:50 +02:00
Add verbose WS for setter
This commit is contained in:
@@ -184,6 +184,9 @@ void WebsocketController::onMessage(const websocketpp::connection_hdl& handler,
|
||||
// ┗━┛┗━╸ ╹ ╹ ┗━╸╹┗╸┗━┛
|
||||
else if (command == "set_object")
|
||||
{
|
||||
std::cout << "------- SETTER MESSAGE RECEIVED\n";
|
||||
std::cout << jsonString;
|
||||
std::cout << "------- END OF MESSAGE\n";
|
||||
if (!jsonMsg.isMember("object") || !jsonMsg.isMember("attribute") || !jsonMsg.isMember("parameters"))
|
||||
{
|
||||
sendError(std::format("WebsocketController::{} - Missing field", __FUNCTION__));
|
||||
|
||||
Reference in New Issue
Block a user