final case class WebSocketConfig(subprotocols: Option[String] = None, handshakeTimeoutMillis: Long = 10000L, forceCloseTimeoutMillis: Long = -1L, handleCloseFrames: Boolean = true, sendCloseFrame: CloseStatus = ..., dropPongFrames: Boolean = true, decoderConfig: SocketDecoder = SocketDecoder.default) extends Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- WebSocketConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new WebSocketConfig(subprotocols: Option[String] = None, handshakeTimeoutMillis: Long = 10000L, forceCloseTimeoutMillis: Long = -1L, handleCloseFrames: Boolean = true, sendCloseFrame: CloseStatus = ..., dropPongFrames: Boolean = true, decoderConfig: SocketDecoder = SocketDecoder.default)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
closeFrame(code: Int, reason: String): WebSocketConfig
Close frame to send, when close frame was not sent manually.
-
def
closeStatus(status: CloseStatus): WebSocketConfig
Close frame to send, when close frame was not sent manually.
- def decoderConfig(socketDecoder: SocketDecoder): WebSocketConfig
- val decoderConfig: SocketDecoder
- val dropPongFrames: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
forceCloseTimeout(duration: zio.Duration): WebSocketConfig
Close the connection if it was not closed by the client after timeout specified
- val forceCloseTimeoutMillis: Long
-
def
forwardCloseFrames(forward: Boolean): WebSocketConfig
Close frames should be forwarded instead of handled solely by Netty, invisibly to the Websocket Client
-
def
forwardPongFrames(forward: Boolean): WebSocketConfig
Pong frames should be forwarded
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val handleCloseFrames: Boolean
-
def
handshakeTimeout(duration: zio.Duration): WebSocketConfig
Handshake timeout in mills
- val handshakeTimeoutMillis: Long
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val sendCloseFrame: CloseStatus
-
def
subProtocol(name: Option[String]): WebSocketConfig
Used to specify the websocket sub-protocol
- val subprotocols: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )