Importing EventStreamUnmarshalling.fromEntityUnmarshaller lets an akka.http.model.HttpEntity
with a text/event-stream media type be unmarshallable to an akka.stream.scaladsl.Source[ServerSentEvent].
Attention: An implicit scala.concurrent.ExecutionContext has to be in scope!
Importing EventStreamUnmarshalling.fromEntityUnmarshaller lets an
akka.http.model.HttpEntity
with atext/event-stream
media type be unmarshallable to anakka.stream.scaladsl.Source[ServerSentEvent]
.
: An implicitAttention
scala.concurrent.ExecutionContext
has to be in scope!