Mixing in this trait lets an akka.stream.scaladsl.Source
of elements
which can be viewed as ServerSentEvents be marshallable to a akka.http.model.HttpResponse
.
Reprsentation of a Server-Sent Event.
Reprsentation of a Server-Sent Event.
data which may span multiple lines
optional event type, must not contain \n or \r
Importing EventStreamMarshalling.toResponseMarshaller lets an akka.stream.scaladsl.Source
of elements
which can be viewed as ServerSentEvents be marshallable to a akka.http.model.HttpResponse
.