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 Serializable
trait Product
trait Equals
trait Renderable
class Object
trait Matchable
class Any
Show all

Members list

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

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def renderString: String

Generates a String rendering of this object

Generates a String rendering of this object

Attributes

Inherited from:
Renderable
Source
Renderable.scala