Optional
commandsOptional
databaseRedis database number (see SELECT
command)
Optional
disableWhen true
, commands are rejected when the client is reconnecting.
When false
, commands are queued for execution after reconnection.
Optional
functionsOptional
isolationOptional
legacyOptional
modulesOptional
nameClient name (see CLIENT SETNAME
)
Optional
passwordACL password or the old "--requirepass" password
Optional
pingSend PING
command at interval (in ms).
Useful with Redis deployments that do not use TCP Keep-Alive.
Optional
readonlyConnect in READONLY
mode
Optional
scriptsOptional
socketSocket connection properties
Optional
urlOptional
usernameACL username (see ACL guide)
Generated using TypeDoc
Maximum length of the client's internal command queue