morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::wire::EventBody Struct Reference

The decoded body of an event envelope. More...

#include <wire.hpp>

Public Attributes

std::string topic
 What the event is about (changes, resync).
glz::raw_json payload
 The topic's payload: a JSON value, carried verbatim.

Detailed Description

The decoded body of an event envelope.

Definition at line 621 of file wire.hpp.

Member Data Documentation

◆ topic

std::string morph::wire::EventBody::topic

What the event is about (changes, resync).

Definition at line 623 of file wire.hpp.

◆ payload

glz::raw_json morph::wire::EventBody::payload

The topic's payload: a JSON value, carried verbatim.

Definition at line 625 of file wire.hpp.


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