Class EventStreamUnmarshalling$

java.lang.Object
akka.http.scaladsl.unmarshalling.sse.EventStreamUnmarshalling$
All Implemented Interfaces:
EventStreamUnmarshalling

public class EventStreamUnmarshalling$ extends Object implements EventStreamUnmarshalling
Importing EventStreamUnmarshalling.fromEventsStream lets an HttpEntity with a text/event-stream media type be unmarshalled to a source of ServerSentEvents.

The maximum size for parsing server-sent events is 8KiB. The maximum size for parsing lines of a server-sent event is 4KiB. If you need to customize any of these, set the akka.http.sse.max-event-size and akka.http.sse.max-line-size properties respectively.

  • Field Details

    • MODULE$

      public static final EventStreamUnmarshalling$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • EventStreamUnmarshalling$

      public EventStreamUnmarshalling$()
  • Method Details