|
ORE Studio 0.0.4
|
Request to subscribe to entity change notifications. More...
#include <subscription_protocol.hpp>

Public Member Functions | |
| std::vector< std::byte > | serialize () const |
| Serialize request to bytes. | |
Static Public Member Functions | |
| static std::expected< subscribe_request, error_code > | deserialize (std::span< const std::byte > data) |
| Deserialize request from bytes. | |
Public Attributes | |
| std::string | event_type |
| The event type to subscribe to. | |
Request to subscribe to entity change notifications.
The client sends this to register interest in receiving notifications when a particular entity type changes.
| std::vector< std::byte > serialize | ( | ) | const |
Serialize request to bytes.
Format:

| std::string event_type |
The event type to subscribe to.
Uses the logical event name from event_traits (e.g., "ores.risk.currency_changed").