roulette v1.0.1 Roulette.NatsClient
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Link to this section Types
Link to this type
message()
Link to this section Functions
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
ping(pid)
Link to this function
pub(pid, topic, message, opts \\ [])
pub(GenServer.server(), String.t(), binary(), keyword()) :: :ok
Link to this function
receive_additional_tcp_data(socket, packets, n)
Link to this function
request(pid, topic, body, opts \\ [])
request(GenServer.server(), String.t(), binary(), keyword()) :: {:ok, message()} | {:error, :timeout}
Link to this function
start_link(connection_settings \\ %{}, opts \\ [])
start_link(map(), keyword()) :: GenServer.on_start()
Link to this function
sub(pid, subscriber, topic, opts \\ [])
sub(GenServer.server(), pid(), String.t(), keyword()) :: {:ok, non_neg_integer()}
Link to this function
unsub(pid, sid, opts \\ [])
unsub(GenServer.server(), non_neg_integer(), keyword()) :: :ok