Add verbose WS for setter

This commit is contained in:
Emmanuel Durand
2026-05-29 13:54:21 -04:00
parent 8e0920eb32
commit fcd41fc480
+3
View File
@@ -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__));