Websocket

fmgp.did.framework.Websocket
See theWebsocket companion object
trait Websocket[E]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def close: UIO[Unit]
def onMessage(message: String): IO[E, Unit]
def send(message: String): IO[E, Unit]

Transmits data to the server over the WebSocket connection.

Transmits data to the server over the WebSocket connection.

Attributes

Concrete methods

def onClose(reason: String): IO[E, Unit]
def onError(evType: String, errorMessage: String): IO[E, Unit]
def onHandshakeTimeout: ZIO[Any, E, Unit]
def onOpen(evType: String): IO[E, Unit]

Abstract fields