Interface SourceParams

interface SourceParams {
    debug?: boolean;
    host: string;
    port: number;
    timeout?: number;
}

Properties

debug?: boolean

Enables debug logging if set to true. If not provided, the default value is false.

host: string

The IP address or hostname of the server. This is a required property.

port: number

The port number of the server. This is a required property.

timeout?: number

The timeout duration (in milliseconds) for server queries. If not provided, the default value is 5000.