Optional
clientOptional
commandsMaximum length of the client's internal command queue
Optional
databaseRedis database number (see SELECT
command)
Optional
disableIf set to true, disables sending client identifier (user-agent like message) to the redis server
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
Tag to append to library name that is sent to the Redis server