API Reference a2s v0.2.1

modules

Modules

A2S

A set of process-less functions for forming A2S challenges, requests, and parsing responses.

An easy to use client that performs the handshaking and busy-work necessary to make execute A2S queries.

Struct representing an A2S_INFO response.

Struct representing a player entry in an A2S_PLAYER response.

Struct representing an A2S_PLAYER response.

Struct representing a rule in an A2S_RULES response.

Struct representing an A2S_RULES response.

A state machine process responsible for handling all A2S queries to a game server running at the given address. Queries must be performed sequentially per address, as A2S provides no way to associate what replies associate to what responses.

Singleton dynamic supervisor for A2S.Statem processes.

GenServer wrapper over :gen_udp, responsible for sending packets to game-servers and routing received packets to the appropriate A2S.Statem process.