Skip to content

Redis connection commands (19/24 implemented)

AUTH

Authenticates the connection.

CLIENT GETNAME

Returns the name of the connection.

CLIENT ID

Returns the unique client ID of the connection.

CLIENT INFO

Returns information about the connection.

CLIENT KILL

Terminates open connections.

CLIENT LIST

Lists open connections.

CLIENT NO-EVICT

Sets the client eviction mode of the connection.

CLIENT NO-TOUCH

Controls whether commands sent by the client affect the LRU/LFU of accessed keys.

CLIENT PAUSE

Suspends commands processing.

CLIENT REPLY

Instructs the server whether to reply to commands.

CLIENT SETINFO

Sets information specific to the client or connection.

CLIENT SETNAME

Sets the connection name.

CLIENT UNBLOCK

Unblocks a client blocked by a blocking command from a different connection.

CLIENT UNPAUSE

Resumes processing commands from paused clients.

ECHO

Returns the given string.

HELLO

Handshakes with the Redis server.

PING

Returns the server's liveliness response.

RESET

Resets the connection.

SELECT

Changes the selected database.

Unsupported connection commands

To implement support for a command, see here

CLIENT (not implemented)

A container for client connection commands.

CLIENT CACHING (not implemented)

Instructs the server whether to track the keys in the next request.

CLIENT GETREDIR (not implemented)

Returns the client ID to which the connection's tracking notifications are redirected.

CLIENT TRACKING (not implemented)

Controls server-assisted client-side caching for the connection.

CLIENT TRACKINGINFO (not implemented)

Returns information about server-assisted client-side caching for the connection.