Browse Source
Adding docs for new a2s_rules optional binary argument
pull/359/head
Tim Jensen
4 years ago
No known key found for this signature in database
GPG Key ID: AF7622AC8D9CB25E
1 changed files with
2 additions and
0 deletions
-
steam/game_servers.py
|
|
@ -538,6 +538,8 @@ def a2s_rules(server_addr, timeout=2, challenge=0, binary=False): |
|
|
|
:type timeout: float |
|
|
|
:param challenge: (optional) challenge number |
|
|
|
:type challenge: int |
|
|
|
:param binary: (optional) return rules as raw bytes |
|
|
|
:type binary: bool |
|
|
|
:raises: :class:`RuntimeError`, :class:`socket.timeout` |
|
|
|
:returns: a list of rules |
|
|
|
:rtype: :class:`list` |
|
|
|