Packages

p

zio.http

socket

package socket

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. socket
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait CloseStatus extends AnyRef
  2. 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
  3. 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

  4. 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

  5. type WebSocketChannel = Channel[WebSocketFrame]

    A channel that allows websocket frames to be written to it.

  6. type WebSocketChannelEvent = ChannelEvent[WebSocketFrame, WebSocketFrame]

    A channel that allows websocket frames to be read and write to it.

  7. sealed trait WebSocketFrame extends Product with Serializable

Value Members

  1. object CloseStatus
  2. object SocketApp extends Serializable
  3. object SocketDecoder extends Serializable
  4. object SocketProtocol extends Serializable
  5. object WebSocketFrame extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped