Class EventStreamUnmarshalling$

  • All Implemented Interfaces:

    public class EventStreamUnmarshalling$
    extends java.lang.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 Detail

      • MODULE$

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

      • EventStreamUnmarshalling$

        public EventStreamUnmarshalling$()