Tai.Venues.Streams.ConnectionAdapter behaviour (tai v0.0.61)
Link to this section Summary
Link to this section Types
Link to this type
msg()
Specs
msg() :: term()
Link to this type
phase()
Specs
phase() :: :init | atom()
Link to this type
state()
Specs
state() :: Tai.Venues.Streams.ConnectionAdapter.State.t()
Link to this section Callbacks
Link to this callback
on_connect(arg1, state)
Specs
on_connect(WebSockex.Conn.t(), state()) :: {:ok, state()}
Link to this callback
on_disconnect(arg1, state)
Specs
on_disconnect(WebSockex.connection_status_map(), state()) :: {:ok, state()}
Link to this callback
on_msg(msg, state)
Specs
Link to this callback
on_terminate(arg1, state)
Specs
on_terminate(WebSockex.close_reason(), state()) :: {:ok, state()}
Link to this callback