You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Markus Bergholz dd23b775b5 1st readme 3 years ago
LICENSE Initial commit 3 years ago
README.md 1st readme 3 years ago
resp.lua add resp lua 3 years ago
resp.m add resp octave 3 years ago
resp.py add resp python 3 years ago

README.md

resp

redis resp protocol

lua

$ ./resp.lua 
*3
$3
SET
$10
my 1st key
$2
42

$ ./resp.lua foo bar
*2
$3
foo
$3
bar

$ ./resp.lua SET Z Z | nc localhost 6379
+OK

python

$ ./resp.py
*3
$3
SET
$10
my 1st key
$2
42

$ ./resp.py foo bar
*2
$3
foo
$3
bar

$ ./resp.py GET Z|nc localhost 6379
$1
Z

octave

$ ./resp.m
*3
$3
SET
$10
my 1st key
$2
42

$ ./resp.m foo bar
*2
$3
foo
$3
bar

$ ./resp.m |nc localhost 6379
+OK