exampple v0.3.0 Exampple.Client

Link to this section Summary

Link to this section Functions

Link to this function

add_template(name \\ __MODULE__, key, fun)

Link to this function

callback_mode()

Link to this function

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor in Elixir v1.6+.

Link to this function

connect(name \\ __MODULE__)

Link to this function

connected(arg1, arg2, data)

Link to this function

disconnect(name \\ __MODULE__)

Link to this function

disconnected(arg1, arg2, data)

Link to this function

get_conn(name, timeout \\ 5000)

Link to this function

get_conns(name, num, timeout \\ 5000)

Link to this function

is_connected?(name \\ __MODULE__)

Link to this function

send(data_or_conn, name \\ __MODULE__)

send(binary() | Exampple.Router.Conn.t(), GenServer.server()) :: :ok
Link to this function

send_template(template, args \\ [], name \\ __MODULE__)

Link to this function

start_link(name \\ __MODULE__, args)

Link to this function

stop(name \\ __MODULE__)