Struct StreamEvent

Struct Documentation

struct StreamEvent

A single event received from a streaming connection.

Represents an SSE event with type, data payload, optional ID, and the name of the peer gateway that produced it.

Public Members

std::string event_type

SSE event name (e.g., “data”, “fault”)

std::string data

Event data (JSON string)

std::string id

Event ID (optional)

std::string peer_name

Which peer this event came from.