|
Motion Master 6.0.0-alpha.50
Next-generation motion control software
|
#include <expected>#include <nlohmann/json_fwd.hpp>#include <optional>#include <string>#include <string_view>#include "node/monitoring.h"Go to the source code of this file.
Classes | |
| struct | mm::WsCommand |
| A client request received over the monitoring WebSocket to (un)subscribe to a topic. More... | |
Namespaces | |
| namespace | mm |
Functions | |
| std::optional< WsCommand > | mm::parseWsCommand (std::string_view message) |
| Parses an inbound monitoring-WebSocket text message into a subscribe/unsubscribe command. | |
| std::expected< mm::node::Monitoring, std::string > | mm::parseMonitoringRequest (const nlohmann::json &body) |
Parses a POST /api/monitorings request body into a Monitoring config. | |