ServerSentEventSettings

org.apache.pekko.http.scaladsl.settings.ServerSentEventSettings
See theServerSentEventSettings companion object

Public API but not intended for subclassing

Options that are in "preview" or "early access" mode. These options may change and/or be removed within patch releases without early notice (e.g. by moving them into a stable supported place).

Attributes

Companion
object
Source
ServerSentEventSettings.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ServerSentEventSettingsImpl

Members list

Value members

Abstract methods

override def maxEventSize: Int

The maximum size for parsing server-sent events

The maximum size for parsing server-sent events

Attributes

Definition Classes
Source
ServerSentEventSettings.scala
override def maxLineSize: Int

The maximum size for parsing lines of a server-sent event

The maximum size for parsing lines of a server-sent event

Attributes

Definition Classes
Source
ServerSentEventSettings.scala

Concrete methods

Attributes

Definition Classes
Source
ServerSentEventSettings.scala
override def withLineLength(newValue: Int): ServerSentEventSettings

Attributes

Definition Classes
Source
ServerSentEventSettings.scala
override def withMaxEventSize(newValue: Int): ServerSentEventSettings

Attributes

Definition Classes
Source
ServerSentEventSettings.scala

Inherited methods

Should events with empty data field be passed to the application.

Should events with empty data field be passed to the application.

Attributes

Inherited from:
ServerSentEventSettings
Source
ServerSentEventSettings.scala