Packages

trait WebSocketSettings extends AnyRef

Public API but not intended for subclassing

Self Type
WebSocketSettingsImpl
Annotations
@DoNotInherit()
Source
WebSocketSettings.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WebSocketSettings
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def getPeriodicKeepAliveData: Supplier[ByteString]

    The provided supplier will be invoked for each new keep-alive frame that is sent.

    The provided supplier will be invoked for each new keep-alive frame that is sent. The ByteString will be included in the Ping or Pong frame sent as heartbeat, so keep in mind to keep it relatively small, in order not to make the frames too bloated.

  2. abstract def getRandomFactory: Supplier[Random]
  3. abstract def logFrames: Boolean
  4. abstract def periodicKeepAliveMaxIdle: Duration
  5. abstract def periodicKeepAliveMode: String
  6. abstract def withLogFrames(shouldLog: Boolean): WebSocketSettings

Concrete Value Members

  1. def withPeriodicKeepAliveData(newValue: Supplier[ByteString]): WebSocketSettings
  2. def withPeriodicKeepAliveMaxIdle(newValue: Duration): WebSocketSettings
  3. def withPeriodicKeepAliveMode(newValue: String): WebSocketSettings
  4. def withRandomFactoryFactory(newValue: Supplier[Random]): WebSocketSettings