load

fun load(configuration: SteamConfiguration, maxServers: Int? = null): List<ServerRecord>

Load a list of servers from the Steam Directory.

Return

the list of servers

Parameters

configuration

Configuration Object

maxServers

Max number of servers to return. The API will typically return this number per server type (socket and websocket).

Throws

if the request could not be executed