Interface WebSocketSettings

    • Method Detail

      • getRandomFactory

        java.util.function.Supplier<java.util.Random> getRandomFactory()
      • periodicKeepAliveMode

        java.lang.String periodicKeepAliveMode()
      • periodicKeepAliveMaxIdle

        scala.concurrent.duration.Duration periodicKeepAliveMaxIdle()
      • getPeriodicKeepAliveData

        java.util.function.Supplier<akka.util.ByteString> getPeriodicKeepAliveData()
        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.
        Returns:
        (undocumented)
      • withRandomFactoryFactory

        WebSocketSettings withRandomFactoryFactory​(java.util.function.Supplier<java.util.Random> newValue)
      • withPeriodicKeepAliveMode

        WebSocketSettings withPeriodicKeepAliveMode​(java.lang.String newValue)
      • withPeriodicKeepAliveMaxIdle

        WebSocketSettings withPeriodicKeepAliveMaxIdle​(scala.concurrent.duration.Duration newValue)
      • withPeriodicKeepAliveData

        WebSocketSettings withPeriodicKeepAliveData​(java.util.function.Supplier<akka.util.ByteString> newValue)
      • logFrames

        boolean logFrames()