JsonWebSocket

com.malliina.ws.JsonWebSocket
trait JsonWebSocket extends WebSocketBase[Json]

Attributes

Graph
Supertypes
trait WebSocketBase[Json]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def close(): Unit

Attributes

Inherited from:
WebSocketBase
def connect(): Future[Unit]

Attributes

Returns:

a future that completes when the connection has successfully been established

Inherited from:
WebSocketBase
def onClose(): Unit

Attributes

Inherited from:
WebSocketBase
def onError(t: Exception): Unit

Attributes

Inherited from:
WebSocketBase
def onMessage(json: Json): Unit

Attributes

Inherited from:
WebSocketBase
def send(json: Json): Try[Unit]

Attributes

Inherited from:
WebSocketBase