View Source Yggdrasil.Subscriber.Adapter.Icon.WebSocket (ICON 2.0 SDK v0.1.8)
This module defines a general ICON 2.0 WebSocket.
Link to this section Summary
Functions
Initializes websocket
connection with a message
.
Starts a websocket connection with an url
and some options
.
Stops websocket
.
Link to this section Functions
@spec initialize(WebSockex.client(), term()) :: :ok
Initializes websocket
connection with a message
.
@spec start_link(binary(), WebSockex.options()) :: {:ok, pid()} | {:error, term()}
Starts a websocket connection with an url
and some options
.
@spec stop(WebSockex.client()) :: :ok
Stops websocket
.