Packages

p

net.domlom

websocket

package websocket

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

Type Members

  1. case class WebsocketBehavior(onOpen: (Websocket) ⇒ Unit, onMessage: (Websocket, WsMessage) ⇒ Unit, onClose: (ConnectionClosedDetails) ⇒ Unit, onError: (Websocket, Throwable) ⇒ Unit) extends Product with Serializable

    onOpen

    An event listener to be called when the connection is opened.

    onMessage

    An event listener to be called when a message is received from the server.

    onClose

    An event listener to be called when the connection is closed.

    onError

    An event listener to be called when an error occurs.

  2. case class WsMessage(value: String) extends Product with Serializable

    this message wrapper will become a more robust type in future releases and also includes a context message that can be used for logging.

  3. case class WsResponse(message: String) extends Product with Serializable

    WsResponse signifies a successful Websocket client interaction, and also includes a context message that can be used for logging.

Value Members

  1. object Websocket
  2. object WebsocketBehavior extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped