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