Class EventStreamMarshalling

java.lang.Object
akka.http.javadsl.marshalling.sse.EventStreamMarshalling

public class EventStreamMarshalling extends Object
Using eventStreamMarshaller lets a source of ServerSentEvents be marshalled to a HttpResponse.
  • Constructor Details

    • EventStreamMarshalling

      public EventStreamMarshalling()
  • Method Details

    • toEventStream

      public static Marshaller<akka.stream.javadsl.Source<ServerSentEvent,akka.NotUsed>,RequestEntity> toEventStream()
      Lets a source of ServerSentEvents be marshalled to a HttpResponse.
      Returns:
      (undocumented)