org.apache.pekko.http.scaladsl.unmarshalling.sse.EventStreamUnmarshalling
See theEventStreamUnmarshalling companion object
Mixing in this trait lets a 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.
Attributes
- Companion
- object
- Source
- EventStreamUnmarshalling.scala
- Graph
-
- Supertypes
- Known subtypes
-
object EventStreamUnmarshalling
Members list
In this article