ServerSentEvent
A single event read from a Server-Sent Events (SSE) stream.
Parameters
type
The event type from the event: field. message if the server did not specify one.
data
The concatenated content of the event's data: fields.
id
The id of the most recent id: field if any.