Packages

package sse

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. 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

  1. object ServerSentEvent extends Serializable

Ungrouped