summaryrefslogtreecommitdiffstats
path: root/src/commands/client-setinfo.json
blob: d0d8f7318f9f3cfa55099d1185bbd6a90fb30b04 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
    "SETINFO": {
        "summary": "Sets information specific to the client or connection.",
        "complexity": "O(1)",
        "group": "connection",
        "since": "7.2.0",
        "arity": 4,
        "container": "CLIENT",
        "function": "clientSetinfoCommand",
        "command_flags": [
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "SENTINEL"
        ],
        "command_tips": [
          "REQUEST_POLICY:ALL_NODES",
          "RESPONSE_POLICY:ALL_SUCCEEDED"
        ],        
        "acl_categories": [
            "CONNECTION"
        ],
        "reply_schema": {
            "const": "OK"
        },
        "arguments": [
            {
                "name": "attr",
                "type": "oneof",
                "arguments": [
                    {
                        "token": "lib-name",
                        "name": "libname",
                        "type": "string"
                    },
                    {
                        "token": "lib-ver",
                        "name": "libver",
                        "type": "string"
                    }
                ]
            }
        ]
    }
}