interface OptionalOptions {
    autoReconnect: boolean;
    connectionTimeout: number;
    defaultMaxListeners: number;
    host: string;
    keepAlive: boolean;
    keepAliveInterval: number;
    port: number;
}

Hierarchy (view full)

Properties

autoReconnect: boolean

Default

true
connectionTimeout: number

The number of milliseconds to wait for the underlying socket to connect

Default

5000
defaultMaxListeners: number
host: string
keepAlive: boolean

Default

true
keepAliveInterval: number

Keep alive interval in milliseconds

Default

30000
port: number