API Reference/PrivMX Endpoint/Core
Event
Holds the information about an event.
Constructors
Event
Fields
type
std::string
Holds the type of the event
channel
std::string
Holds the channel of the event
connectionId
int64_t
ID of the connection (unique)
Methods
toJSON
Converts Event data to JSON string
Returns
std::string
·
JSON string