Interface EventStreamMarshalling
- All Known Implementing Classes:
EventStreamMarshalling$
public interface EventStreamMarshalling
Mixing in this trait lets a source of
ServerSentEvents be marshalled to a HttpEntity and hence as a
HttpResponse.-
Method Summary
Modifier and TypeMethodDescriptionMarshaller<org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,Object>, RequestEntity>
-
Method Details
-
toEventStream
Marshaller<org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,Object>, toEventStream()RequestEntity>
-