summaryrefslogtreecommitdiff
path: root/src/commands/hello.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/hello.json')
-rw-r--r--src/commands/hello.json63
1 files changed, 63 insertions, 0 deletions
diff --git a/src/commands/hello.json b/src/commands/hello.json
new file mode 100644
index 000000000..8e80a81cf
--- /dev/null
+++ b/src/commands/hello.json
@@ -0,0 +1,63 @@
+{
+ "HELLO": {
+ "summary": "Handshake with Redis",
+ "complexity": "O(1)",
+ "group": "connection",
+ "since": "6.0.0",
+ "arity": -1,
+ "function": "helloCommand",
+ "history": [
+ [
+ "6.2.0",
+ "`protover` made optional; when called without arguments the command reports the current connection's context."
+ ]
+ ],
+ "command_flags": [
+ "NOSCRIPT",
+ "LOADING",
+ "STALE",
+ "FAST",
+ "NO_AUTH",
+ "SENTINEL",
+ "ALLOW_BUSY"
+ ],
+ "acl_categories": [
+ "CONNECTION"
+ ],
+ "arguments": [
+ {
+ "name": "arguments",
+ "type": "block",
+ "optional": true,
+ "arguments": [
+ {
+ "name": "protover",
+ "type": "integer"
+ },
+ {
+ "token": "AUTH",
+ "name": "username_password",
+ "type": "block",
+ "optional": true,
+ "arguments": [
+ {
+ "name": "username",
+ "type": "string"
+ },
+ {
+ "name": "password",
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "token": "SETNAME",
+ "name": "clientname",
+ "type": "string",
+ "optional": true
+ }
+ ]
+ }
+ ]
+ }
+}