You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Information is sent using RESP protocol.
Example for data traffic:
Request from client to server “SET foo 100”
*3\r\n$3\r\nSET\r\n$3\r\nfoo\r\n$3\r\n100\r\n
Can also be written in the inline command format:
SET foo 100\r\n
Server should then respond with:
$2\r\nOK\r\n
or
+OK\r\n
Lets ignore optional options for now when implementing this issue? Can maybe be added later as separate options?
Add support for set and get for keys with string values.
SET
GET
Keys are always strings (binary safe)
Information is sent using RESP protocol.
Example for data traffic:
Request from client to server “SET foo 100”
*3\r\n$3\r\nSET\r\n$3\r\nfoo\r\n$3\r\n100\r\n
Can also be written in the inline command format:
SET foo 100\r\n
Server should then respond with:
$2\r\nOK\r\n
or
+OK\r\n
Lets ignore optional options for now when implementing this issue? Can maybe be added later as separate options?
GET returns the value of the key. If the key doesn't exist the special value nil is returned.
https://redis.io/docs/reference/protocol-spec/#resp-bulk-strings
$-1\r\n
The text was updated successfully, but these errors were encountered: