Input accepted by detect(), which identifies the game instead of taking it from the caller.
Properties
host
readonlyhost:string
DNS hostname or IP literal. URL syntax is intentionally not accepted.
maxProbes?
readonlyoptionalmaxProbes?:number
Distinct protocol and port pairs to probe, from 1 through 16; defaults to 8.
mode?
readonlyoptionalmode?:QueryMode
Mode of the query returned for the detected game; defaults to "full".
port?
readonlyoptionalport?:number
Port the caller knows, tried both as a query port and as a game port whose conventional query port is derived from the registry. When omitted, each game's conventional ports are probed.
signal?
readonlyoptionalsignal?:AbortSignal
Caller cancellation propagated to every outstanding probe and query.
timeoutMs?
readonlyoptionaltimeoutMs?:number
Global deadline for probing and the final query together, from 1 through 30,000 ms; defaults to 5,000 ms.