mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
Added givenPortOnly user option
Allows user to disable gamedig's default behavior of adding query attempts using the default query port(-offset)
This commit is contained in:
parent
b99abcd8b3
commit
a362d1d113
3 changed files with 9 additions and 3 deletions
|
|
@ -43,6 +43,7 @@ this query port may work instead. (defaults to protocol default port)
|
|||
will cause many queries to take longer even if the server is online. (default 2000)
|
||||
* **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)
|
||||
* **debug**: boolean - Enables massive amounts of debug logging to stdout. (default false)
|
||||
|
||||
### Return Value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue