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