abstract class WebSocketSettings extends javadsl.settings.WebSocketSettings
- Self Type
- WebSocketSettingsImpl
- Annotations
- @DoNotInherit()
- Source
- WebSocketSettings.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- WebSocketSettings
- WebSocketSettings
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new WebSocketSettings()
Abstract Value Members
- abstract def logFrames: Boolean
- Definition Classes
- WebSocketSettings → WebSocketSettings
- abstract def periodicKeepAliveData: () => ByteString
The provided function will be invoked for each new keep-alive frame that is sent.
The provided function 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.
- abstract def periodicKeepAliveMaxIdle: Duration
- Definition Classes
- WebSocketSettings → WebSocketSettings
- abstract def periodicKeepAliveMode: String
- Definition Classes
- WebSocketSettings → WebSocketSettings
- abstract def randomFactory: () => Random
Concrete Value Members
- final 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.
- Definition Classes
- WebSocketSettings → WebSocketSettings
- final val getRandomFactory: Supplier[Random]
- Definition Classes
- WebSocketSettings → WebSocketSettings
- def withLogFrames(shouldLog: Boolean): WebSocketSettings
- Definition Classes
- WebSocketSettings → WebSocketSettings
- def withPeriodicKeepAliveData(newValue: () => ByteString): WebSocketSettings
- def withPeriodicKeepAliveData(newValue: Supplier[ByteString]): javadsl.settings.WebSocketSettings
- Definition Classes
- WebSocketSettings
- def withPeriodicKeepAliveMaxIdle(newValue: Duration): WebSocketSettings
- Definition Classes
- WebSocketSettings → WebSocketSettings
- def withPeriodicKeepAliveMode(newValue: String): WebSocketSettings
- Definition Classes
- WebSocketSettings → WebSocketSettings
- def withRandomFactoryFactory(newValue: Supplier[Random]): WebSocketSettings
- Definition Classes
- WebSocketSettings → WebSocketSettings