summaryrefslogtreecommitdiffstats
path: root/src/commands/hello.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/hello.json')
-rw-r--r--src/commands/hello.json111
1 files changed, 111 insertions, 0 deletions
diff --git a/src/commands/hello.json b/src/commands/hello.json
new file mode 100644
index 0000000..e916e72
--- /dev/null
+++ b/src/commands/hello.json
@@ -0,0 +1,111 @@
+{
+ "HELLO": {
+ "summary": "Handshakes with the Redis server.",
+ "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"
+ ],
+ "reply_schema": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "server": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ },
+ "proto": {
+ "const": 3
+ },
+ "id": {
+ "type": "integer"
+ },
+ "mode": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ },
+ "modules": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "ver": {
+ "type": "integer"
+ },
+ "path": {
+ "type": "string"
+ },
+ "args": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "arguments": [
+ {
+ "name": "arguments",
+ "type": "block",
+ "optional": true,
+ "arguments": [
+ {
+ "name": "protover",
+ "type": "integer"
+ },
+ {
+ "token": "AUTH",
+ "name": "auth",
+ "type": "block",
+ "optional": true,
+ "arguments": [
+ {
+ "name": "username",
+ "type": "string"
+ },
+ {
+ "name": "password",
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "token": "SETNAME",
+ "name": "clientname",
+ "type": "string",
+ "optional": true
+ }
+ ]
+ }
+ ]
+ }
+}