Packages

package ws

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package testing

Type Members

  1. trait WebSocket[F[_]] extends AnyRef

    Effectful interactions with a web socket.

    Effectful interactions with a web socket. Interactions can happen:

    - on the frame level, by sending and receiving raw WebSocketFrames - using the provided receive* methods to obtain concatenated data frames, or string/byte payloads, and the send* method to send string/binary frames.

    The send* and receive* methods may result in a failed effect, with either one of WebSocketException exceptions, or a backend-specific exception. Specifically, they will fail with WebSocketClosed if the web socket is closed.

    See the either and eitherClose method to lift web socket closed events to the value level.

  2. case class WebSocketBufferFull(capacity: Int) extends WebSocketException with Product with Serializable
  3. case class WebSocketClosed(frame: Option[Close]) extends WebSocketException with Product with Serializable

    frame

    The received closing frame, if available.

  4. abstract class WebSocketException extends Exception
  5. sealed trait WebSocketFrame extends AnyRef

Value Members

  1. object WebSocketFrame

Ungrouped