Returns the name of the connection.
CLIENT
GETNAME
The CLIENT GETNAME returns the name of the current
connection as set by CLIENT SETNAME. Since every new
connection starts without an associated name, if no name was assigned a
null bulk reply is returned.
One of the following:
Bulk string reply: the connection name of the current connection.
Nil reply: the connection name was not set.
One of the following:
Bulk string reply: the connection name of the current connection.
Null reply: the connection name was not set.
O(1)
@connection @slow
AUTH, CLIENT, CLIENT CACHING, CLIENT CAPA, CLIENT GETREDIR, CLIENT HELP, CLIENT ID, CLIENT IMPORT-SOURCE, CLIENT INFO, CLIENT KILL, CLIENT LIST, CLIENT NO-EVICT, CLIENT NO-TOUCH, CLIENT PAUSE, CLIENT REPLY, CLIENT SETINFO, CLIENT SETNAME, CLIENT TRACKING, CLIENT TRACKINGINFO, CLIENT UNBLOCK, CLIENT UNPAUSE, ECHO, HELLO, PING, RESET, SELECT.