zio.http.socket
package zio.http.socket
Members list
Concise view
Type members
Classlikes
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object AbnormalClosure.typeobject BadGateway.typeobject Empty.typeobject EndpointUnavailable.typeobject InternalServerError.typeobject InvalidMessageType.typeobject InvalidPayloadData.typeobject MandatoryExtension.typeobject MessageTooBig.typeobject NormalClosure.typeobject PolicyViolation.typeobject ProtocolError.typeobject ServiceRestart.typeobject TlsHandshakeFailed.typeobject TryAgainLater.type
object CloseStatus
Attributes
- Companion:
- class
- Graph
- Supertypes
- Self type
- CloseStatus.type
final case class SocketApp[-R](decoder: SocketDecoder, protocol: SocketProtocol, message: Option[ChannelEvent[WebSocketFrame, WebSocketFrame] => ZIO[R, Throwable, Any]])
object SocketApp
Frame decoder configuration
object SocketDecoder
Attributes
- Companion:
- class
- Graph
- Supertypes
- Self type
- SocketDecoder.type
final case class SocketProtocol(subprotocols: Option[String], handshakeTimeoutMillis: Long, forceCloseTimeoutMillis: Long, handleCloseFrames: Boolean, sendCloseFrame: WebSocketCloseStatus, dropPongFrames: Boolean, decoderConfig: SocketDecoder)
Server side websocket configuration
object SocketProtocol
Attributes
- Companion:
- class
- Graph
- Supertypes
- Self type
- SocketProtocol.type
Attributes
- Companion:
- object
- Graph
- Supertypes
- Known subtypes
- Self type
object WebSocketFrame
Attributes
- Companion:
- trait
- Graph
- Supertypes
- Self type
- WebSocketFrame.type
Types
A channel that allows websocket frames to be written to it.
A channel that allows websocket frames to be written to it.
Attributes
A channel that allows websocket frames to be read and write to it.
A channel that allows websocket frames to be read and write to it.