package socket
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- socket
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- sealed trait CloseStatus extends AnyRef
- final case class SocketApp[-R](decoder: SocketDecoder = SocketDecoder.default, protocol: SocketProtocol = SocketProtocol.default, message: Option[(ChannelEvent[WebSocketFrame, WebSocketFrame]) => ZIO[R, Throwable, Any]] = None) extends Product with Serializable
- final case class SocketDecoder(maxFramePayloadLength: Int = 65536, expectMaskedFrames: Boolean = true, allowMaskMismatch: Boolean = false, allowExtensions: Boolean = false, closeOnProtocolViolation: Boolean = true, withUTF8Validator: Boolean = true) extends Product with Serializable
Frame decoder configuration
- final case class SocketProtocol(subprotocols: Option[String] = None, handshakeTimeoutMillis: Long = 10000L, forceCloseTimeoutMillis: Long = -1L, handleCloseFrames: Boolean = true, sendCloseFrame: CloseStatus = CloseStatus.NormalClosure, dropPongFrames: Boolean = true, decoderConfig: SocketDecoder = SocketDecoder.default) extends Product with Serializable
Server side websocket configuration
- type WebSocketChannel = Channel[WebSocketFrame]
A channel that allows websocket frames to be written to it.
- type WebSocketChannelEvent = ChannelEvent[WebSocketFrame, WebSocketFrame]
A channel that allows websocket frames to be read and write to it.
- sealed trait WebSocketFrame extends Product with Serializable
Value Members
- object CloseStatus
- object SocketApp extends Serializable
- object SocketDecoder extends Serializable
- object SocketProtocol extends Serializable
- object WebSocketFrame extends Serializable