API Reference/PrivMX Endpoint/Core
EventHolder
EventHolder is an helper class containing functions to operate on Event objects.
Constructors
EventHolder
EventHolder constructor
Params
event
const std::shared_ptr<Event> &
pointer to the Event object to use in the EventHolder
Methods
type
channel
toJSON
Serializes an Event to the JSON string
Returns
std::string
·
JSON string representation of the Event object