ServerSentEvent

org.http4s.ServerSentEvent
See theServerSentEvent companion object
final case class ServerSentEvent(data: Option[String], eventType: Option[String], id: Option[EventId], retry: Option[FiniteDuration], comment: Option[String]) extends Renderable

Attributes

Companion:
object
Source:
ServerSentEvent.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def render(writer: Writer): Writer

Base method for rendering this object efficiently

Base method for rendering this object efficiently

Attributes

Source:
ServerSentEvent.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Renderable -> Any
Source:
ServerSentEvent.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Generates a String rendering of this object

Generates a String rendering of this object

Attributes

Inherited from:
Renderable
Source:
Renderable.scala