docs: Add ipFamily option to README

This commit is contained in:
cetteup 2022-12-13 11:02:05 +01:00
parent 3c38fe48fe
commit 5c141dfbc4
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ this query port may work instead. (defaults to protocol default port)
* **attemptTimeout**: number - Milliseconds allowed for an entire query attempt. This timeout is not commonly hit,
as the socketTimeout typically fires first. (default 10000)
* **givenPortOnly**: boolean - Only attempt to query server on given port. (default false)
* **ipFamily**: number - IP family/version returned when looking up hostnames via DNS, can be 0 (IPv4 and IPv6), 4 (IPv4 only) or 6 (IPv6 only). (default 0)
* **debug**: boolean - Enables massive amounts of debug logging to stdout. (default false)
* **requestRules**: boolean - Valve games only. Additional 'rules' may be fetched into the `raw` field. (default false)