Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
mm::WsCommand Struct Reference

A client request received over the monitoring WebSocket to (un)subscribe to a topic. More...

#include <monitoring_api.h>

Collaboration diagram for mm::WsCommand:
[legend]

Public Types

enum class  Action { Subscribe , Unsubscribe }
 

Public Attributes

Action action = Action::Subscribe
 
std::string topic
 Validated URL-safe topic (a monitoring id).
 

Detailed Description

A client request received over the monitoring WebSocket to (un)subscribe to a topic.

Member Enumeration Documentation

◆ Action

enum class mm::WsCommand::Action
strong
Enumerator
Subscribe 
Unsubscribe 

Member Data Documentation

◆ action

Action mm::WsCommand::action = Action::Subscribe

◆ topic

std::string mm::WsCommand::topic

Validated URL-safe topic (a monitoring id).


The documentation for this struct was generated from the following file: