Mixing in this trait lets a source of ServerSentEvents be marshalled to a HttpResponse.
Representation of a Server-Sent Event.
Importing EventStreamMarshalling.trm lets a source of
ServerSentEvents be marshalled to a HttpResponse
.
Media types for Server-Sent Events.
Representation of a Server-Sent Event.
data which may be empty or span multiple lines
optional event type, must not contain \n or \r
event id, must not contain \n or \r
the reconnection time in milliseconds