summaryrefslogtreecommitdiff
path: root/src/commands/client-setname.json
blob: e8920b686bcdc53e4f54ceff558ec6c64bb92cc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
    "SETNAME": {
        "summary": "Sets the connection name.",
        "complexity": "O(1)",
        "group": "connection",
        "since": "2.6.9",
        "arity": 3,
        "container": "CLIENT",
        "function": "clientCommand",
        "command_flags": [
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "SENTINEL"
        ],
        "acl_categories": [
            "CONNECTION"
        ],
        "arguments": [
            {
                "name": "connection-name",
                "type": "string"
            }
        ],
        "reply_schema": {
            "const": "OK"
        }
    }
}