zio.http.WebSocketConfig
See theWebSocketConfig companion object
final case class WebSocketConfig(subprotocols: Option[String] = ..., handshakeTimeoutMillis: Long = ..., forceCloseTimeoutMillis: Long = ..., handleCloseFrames: Boolean = ..., sendCloseFrame: CloseStatus = ..., dropPongFrames: Boolean = ..., decoderConfig: SocketDecoder = ...)
Server side websocket configuration
Attributes
- Companion
- object
- Source
- WebSocketConfig.scala
- Graph
-
- Supertypes
- Self type
Members list
Value members
Concrete methods
Close frame to send, when close frame was not sent manually.
Close frame to send, when close frame was not sent manually.
Attributes
- Source
- WebSocketConfig.scala
Close frame to send, when close frame was not sent manually.
Close frame to send, when close frame was not sent manually.
Attributes
- Source
- WebSocketConfig.scala
Attributes
- Source
- WebSocketConfig.scala
Close the connection if it was not closed by the client after timeout specified
Close the connection if it was not closed by the client after timeout specified
Attributes
- Source
- WebSocketConfig.scala
Close frames should be forwarded instead of handled solely by Netty, invisibly to the Websocket Client
Close frames should be forwarded instead of handled solely by Netty, invisibly to the Websocket Client
Attributes
- Source
- WebSocketConfig.scala
Pong frames should be forwarded
Handshake timeout in mills
Used to specify the websocket sub-protocol
In this article