View Source Surrealix.Socket (surrealix v0.1.2)

Socket module to wrap the interactions with WebSockex process.

Summary

Types

Link to this type

base_connection_opts()

View Source
@type base_connection_opts() :: Surrealix.Config.socket_opts()
@type on_start() :: {:ok, pid()} | {:error, term()}

Functions

Link to this function

exec_method(pid, arg, opts \\ [])

View Source
@spec start_link(Surrealix.Config.socket_opts()) :: on_start()
@spec stop(pid()) :: :ok