Class EventStreamMarshalling$
java.lang.Object
akka.http.scaladsl.marshalling.sse.EventStreamMarshalling$
- All Implemented Interfaces:
EventStreamMarshalling
Importing
EventStreamMarshalling.toEventStream
lets a source of ServerSentEvent
s be marshalled to a
HttpEntity
and hence as a HttpResponse
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final EventStreamMarshalling$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Marshaller<akka.stream.scaladsl.Source<ServerSentEvent,
Object>, RequestEntity>
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
EventStreamMarshalling$
public EventStreamMarshalling$()
-
-
Method Details
-
toEventStream
public final Marshaller<akka.stream.scaladsl.Source<ServerSentEvent,Object>, toEventStream()RequestEntity> - Specified by:
toEventStream
in interfaceEventStreamMarshalling
-