Tai.Venues.Streams.ConnectionAdapter behaviour (tai v0.0.59)

Link to this section Summary

Link to this section Types

Specs

msg() :: term()

Specs

state() :: term()

Link to this section Callbacks

Link to this callback

on_connect(arg1, state)

Specs

on_connect(WebSockex.Conn.t(), state()) :: :ok
Link to this callback

on_disconnect(arg1, state)

Specs

on_disconnect(WebSockex.connection_status_map(), state()) :: :ok
Link to this callback

on_msg(msg, state)

Specs

on_msg(msg(), state()) :: :ok
Link to this callback

on_terminate(arg1, state)

Specs

on_terminate(WebSockex.close_reason(), state()) :: :ok