akka.http.scaladsl.unmarshalling.sse
Lets an HttpEntity
with a text/event-stream
media type be unmarshalled to a source of ServerSentEvent
s.
Lets an HttpEntity
with a text/event-stream
media type be unmarshalled to a source of ServerSentEvent
s.
overrides the default unmarshalling behavior.
Lets an HttpEntity
with a text/event-stream
media type be unmarshalled to a source of ServerSentEvent
s.
(Since version 10.1.8) Binary compatibility method. Invocations should have an implicit ActorSystem in scope to provide access to configuration
The maximum size for parsing server-sent events; 8KiB by default.
The maximum size for parsing server-sent events; 8KiB by default.
(Since version 10.1.8) Set this property in configuration as akka.http.sse.max-event-size
before calling fromEventsStream(implicit ActorSystem)
The maximum size for parsing lines of a server-sent event; 4KiB by default.
The maximum size for parsing lines of a server-sent event; 4KiB by default.
(Since version 10.1.8) Set this property in configuration as akka.http.sse.max-line-size
before calling fromEventsStream(implicit ActorSystem)
Mixing in this trait lets a
HttpEntity
with atext/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
akka.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 configuringakka.http.sse.max-line-size
.