public interface EventStreamUnmarshalling
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 by default and can be customized by configuring
 pekko.http.sse.max-event-size. The maximum size for parsing lines of a server-sent event is 4KiB by
 default and can be customized by configuring pekko.http.sse.max-line-size.
| Modifier and Type | Method and Description | 
|---|---|
| Unmarshaller<HttpEntity,org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>> | fromEventsStream(org.apache.pekko.actor.ActorSystem system)Lets an  HttpEntitywith atext/event-streammedia type be unmarshalled to a source ofServerSentEvents. | 
| Unmarshaller<HttpEntity,org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>> | fromEventsStream(int maxLineSize,
                int maxEventSize,
                boolean emitEmptyEvents) | 
| Unmarshaller<HttpEntity,org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>> | fromEventsStream(ServerSentEventSettings settings)Lets an  HttpEntitywith atext/event-streammedia type be unmarshalled to a source ofServerSentEvents. | 
| Unmarshaller<HttpEntity,org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>> | fromEventStream()Deprecated. 
 Binary compatibility method. Invocations should have an implicit ActorSystem in scope to provide access to configuration. Since Akka HTTP 10.1.8. | 
| int | maxEventSize()Deprecated. 
 Set this property in configuration as `pekko.http.sse.max-event-size` before calling fromEventsStream(implicit ActorSystem). Since Akka HTTP 10.1.8. | 
| int | maxLineSize()Deprecated. 
 Set this property in configuration as `pekko.http.sse.max-line-size` before calling fromEventsStream(implicit ActorSystem). Since Akka HTTP 10.1.8. | 
int maxLineSize()
int maxEventSize()
Unmarshaller<HttpEntity,org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>> fromEventStream()
Unmarshaller<HttpEntity,org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>> fromEventsStream(org.apache.pekko.actor.ActorSystem system)
HttpEntity with a text/event-stream media type be unmarshalled to a source of ServerSentEvents.system - (undocumented)Unmarshaller<HttpEntity,org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>> fromEventsStream(ServerSentEventSettings settings)
HttpEntity with a text/event-stream media type be unmarshalled to a source of ServerSentEvents.settings - overrides the default unmarshalling behavior.Unmarshaller<HttpEntity,org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>> fromEventsStream(int maxLineSize, int maxEventSize, boolean emitEmptyEvents)