summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/client-getname.md
blob: f60539dd02cfbe42b3e37e8d57e4fee2b060dabe (plain)
1
2
3
4
5
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.

@return

@bulk-string-reply: The connection name, or a null bulk reply if no name is set.