pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::orch::SseEvent Struct Reference

One server-sent event. More...

#include <sse.hpp>

Public Attributes

std::string type = "message"
 The event: field, or message when the event has none.
 
std::string data
 The data: lines joined with newlines.
 
std::string last_event_id
 The last id: seen in the stream so far, as the specification defines it.
 

Detailed Description

One server-sent event.

Member Data Documentation

◆ data

std::string pulsatrix::orch::SseEvent::data

The data: lines joined with newlines.

◆ last_event_id

std::string pulsatrix::orch::SseEvent::last_event_id

The last id: seen in the stream so far, as the specification defines it.

◆ type

std::string pulsatrix::orch::SseEvent::type = "message"

The event: field, or message when the event has none.


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