public interface EventStreamMarshalling
ServerSentEvent
s be marshalled to a HttpEntity
and hence as a
HttpResponse
.Modifier and Type | Method and Description |
---|---|
Marshaller<org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,java.lang.Object>,RequestEntity> |
toEventStream() |
Marshaller<org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,java.lang.Object>,RequestEntity> toEventStream()