Redis Quit Command

Redis Connection

The Redis Quit command is used to close the connection between the current client and the Redis service.

Once all pending replies (if any) have been successfully written to the client, the connection is closed.

Syntax

The basic syntax of the redis Quit command is as follows:

redis 127.0.0.1:6379> QUIT 

Available Versions

>= 1.0.0

Return Value

Always returns OK.

Example

redis 127.0.0.1:6379> QUIT
OK

Redis Connection

Other Extensions