TsgcSSEEvent

Event received from a text/event-stream. It is passed to the OnEvent event of TsgcSSEClient and of TsgcSSEParser.

 

NameTypeDescription
EventTypestringValue of the event: field, or message when the server does not send one.
DatastringValue of the data: lines. When an event has several data lines, they are joined with a line feed.
IdstringLast event id known when the event was dispatched.

 

The object belongs to the client or the parser and is only valid inside the event handler. Copy the values you need to keep.