CLIENT GETNAME
CLIENT GETNAME
@slow, @connection, 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.
Bulk string reply: The connection name, or a null bulk reply if no name is set.
© 2006–2022 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/client-getname/