View Source A2S.Client (elixir_a2s v0.3.1)
An easy to use client that performs the handshaking and busy-work necessary to make execute A2S queries.
This client handles requests concurrently and should be suitable for most general uses.
Note: must supply a :name
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Query a game server running at address
for the data specified by query
.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec query( :info | :players | :rules, {:inet.ip_address(), :inet.port_number()}, timeout() ) :: {:info, A2S.Info.t()} | {:players | A2S.Players.t()} | {:rules | A2S.Rules.t()} | {:error, any()}
Query a game server running at address
for the data specified by query
.