interface RedisRedisClientOptions {
    autoResendUnfulfilledCommands?: boolean;
    autoResubscribe?: boolean;
    commandsQueueMaxLength?: number;
    connectTimeout?: number;
    database?: number;
    disableOfflineQueue?: boolean;
    enableReadyCheck?: boolean;
    family?: "IPv4" | "IPv6";
    keepAlive?: number;
    keyPrefix?: string;
    lazyConnect?: boolean;
    legacyMode?: boolean;
    name?: string;
    password?: string;
    readonly?: boolean;
    retry?: {
        initialReconnectionDelay?: number;
        maxReconnectionAttempts?: number;
        maxRetryCount?: number;
        reconnectionBackoffFactor?: number;
        totalReconnectionTimeout?: number;
    };
    socket?: {
        host?: string;
        port?: number;
        servername?: string;
        tls?: boolean;
    };
    stringNumbers?: boolean;
    tls?: boolean | ConnectionOptions;
    url?: string;
    username?: string;
}

Properties

autoResendUnfulfilledCommands?: boolean
autoResubscribe?: boolean
commandsQueueMaxLength?: number
connectTimeout?: number
database?: number
disableOfflineQueue?: boolean
enableReadyCheck?: boolean
family?: "IPv4" | "IPv6"
keepAlive?: number
keyPrefix?: string
lazyConnect?: boolean
legacyMode?: boolean
name?: string
password?: string
readonly?: boolean
retry?: {
    initialReconnectionDelay?: number;
    maxReconnectionAttempts?: number;
    maxRetryCount?: number;
    reconnectionBackoffFactor?: number;
    totalReconnectionTimeout?: number;
}
socket?: {
    host?: string;
    port?: number;
    servername?: string;
    tls?: boolean;
}
stringNumbers?: boolean
tls?: boolean | ConnectionOptions
url?: string
username?: string