interface AMIConnectionOptions {
    autoReconnect?: boolean;
    connectionTimeout?: number;
    defaultMaxListeners?: number;
    host?: string;
    keepAlive?: boolean;
    keepAliveInterval?: number;
    password: string;
    port?: number;
    user: string;
}

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
password: string
port?: number
user: string