View Source Surrealix.Socket (surrealix v0.1.8)
Socket module to wrap the interactions with WebSockex
process.
Summary
Functions
Show all currently registered live queries (SQL)
Main method to send requests in blocking fashion to SurrealDB
Reset running
live queries status, used after reconnection
Switch for auth_ready
boolean flag
Busy-wait until the on_auth
callback is executed
Types
@type base_connection_opts() :: Surrealix.Config.socket_opts()
Functions
Show all currently registered live queries (SQL)
Main method to send requests in blocking fashion to SurrealDB
Reset running
live queries status, used after reconnection
Switch for auth_ready
boolean flag
@spec start(Surrealix.Config.socket_opts()) :: on_start()
@spec start_link(Surrealix.Config.socket_opts()) :: on_start()
@spec stop(pid()) :: :ok
Busy-wait until the on_auth
callback is executed