|
Motion Master 6.0.0-alpha.50
Next-generation motion control software
|
#include "monitoring_api.h"#include <chrono>#include <cstdint>#include <expected>#include <nlohmann/json.hpp>#include <optional>#include <string>#include <string_view>#include <utility>#include "core/util.h"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. | |