Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
monitoring_api.h File Reference
#include <expected>
#include <nlohmann/json_fwd.hpp>
#include <optional>
#include <string>
#include <string_view>
#include "node/monitoring.h"
Include dependency graph for monitoring_api.h:
This graph shows which files directly or indirectly include this file:

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< WsCommandmm::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.