object EventStreamUnmarshalling
Using fromEventsStream
lets a HttpEntity
with a text/event-stream
media type be unmarshalled to a source of
ServerSentEvent
s.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EventStreamUnmarshalling
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def fromEventsStream(settings: ServerSentEventSettings): Unmarshaller[HttpEntity, Source[ServerSentEvent, NotUsed]]
Lets an
HttpEntity
with atext/event-stream
media type be unmarshalled to a source ofServerSentEvent
s.Lets an
HttpEntity
with atext/event-stream
media type be unmarshalled to a source ofServerSentEvent
s.- settings
overrides the default unmarshalling behavior.
- def fromEventsStream(implicit system: ActorSystem): Unmarshaller[HttpEntity, Source[ServerSentEvent, NotUsed]]
Lets an
HttpEntity
with atext/event-stream
media type be unmarshalled to a source ofServerSentEvent
s.
Deprecated Value Members
- val fromEventStream: Unmarshaller[HttpEntity, Source[ServerSentEvent, NotUsed]]
- Annotations
- @deprecated
- Deprecated
(Since version Akka HTTP 10.1.8) Binary compatibility method. Invocations should have an implicit ActorSystem in scope to provide access to configuration