package sse
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- final case class ServerSentEvent(data: String, eventType: Option[String] = None, id: Option[String] = None, retry: Option[Int] = None) extends javadsl.model.sse.ServerSentEvent with Product with Serializable
Representation of a server-sent event.
Representation of a server-sent event. By default akka-http uses events with an empty data field as a heartbeat that is ignored on reception. Set
akka.http.sse.emit-empty-events
can be used to change that default behavior.- data
data, may span multiple lines
- eventType
optional type, must not contain \n or \r
- id
optional id, must not contain \n or \r
- retry
optional reconnection delay in milliseconds
Value Members
- object ServerSentEvent extends Serializable