QueryHost
Documentation menu

API reference · interfaces

Interface: QueryInput<G>

Generated from the QueryHost package public TypeScript contract.

Input accepted by the public query() entry point.

Type Parameters

G

G extends GameInputId = GameInputId

Properties

game

readonly game: G


host

readonly host: string

DNS hostname or IP literal. URL syntax is intentionally not accepted.


mode?

readonly optional mode?: QueryMode


port?

readonly optional port?: number

Primary game or service port; the profile default is used when omitted.


queryPort?

readonly optional queryPort?: number

Explicit protocol query port, overriding the profile convention derived from port.


signal?

readonly optional signal?: AbortSignal

Caller cancellation propagated to every outstanding operation.


timeoutMs?

readonly optional timeoutMs?: number

Global deadline from 1 through 30,000 ms; defaults to 5,000 ms.