Packages

package akkasse

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait EventStreamMarshalling extends AnyRef

    Mixing in this trait lets a source of ServerSentEvents be marshalled to a HttpResponse.

  2. final case class ServerSentEvent (data: Option[String] = None, eventType: Option[String] = None, id: Option[String] = None, retry: Option[Int] = None) extends Product with Serializable

    Representation of a Server-Sent Event.

    Representation of a Server-Sent Event.

    data

    data which may be empty or span multiple lines

    eventType

    optional event type, must not contain \n or \r

    id

    event id, must not contain \n or \r

    retry

    the reconnection time in milliseconds

Value Members

  1. object EventStreamMarshalling extends EventStreamMarshalling

    Importing EventStreamMarshalling.trm lets a source of ServerSentEvents be marshalled to a HttpResponse.

  2. object MediaTypes

    Media types for Server-Sent Events.

  3. object ServerSentEvent extends Serializable

Ungrouped