public class EventStreamMarshalling$ extends java.lang.Object implements EventStreamMarshalling
EventStreamMarshalling.toEventStream
lets a source of ServerSentEvent
s be marshalled to a
HttpEntity
and hence as a HttpResponse
.Modifier and Type | Field and Description |
---|---|
static EventStreamMarshalling$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
EventStreamMarshalling$() |
Modifier and Type | Method and Description |
---|---|
Marshaller<org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,java.lang.Object>,RequestEntity> |
toEventStream() |
public static final EventStreamMarshalling$ MODULE$
public final Marshaller<org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,java.lang.Object>,RequestEntity> toEventStream()
toEventStream
in interface EventStreamMarshalling