w3resource

Redis Connection: QUIT

Description

Redis QUIT command ask the server to close the connection. The connection is closed as soon as all pending replies have been written to the client.

Syntax:

QUIT

Available since

1.0.0.

Return Value

String reply OK

Return Value Type

String

Example:

redis 127.0.0.1:6379> QUIT
OK

Previous: PING
Next: SELECT



Follow us on Facebook and Twitter for latest update.