(index ("redis-connect" 0) ("redis-command" 201) ("redis-command*" 668))
(def (sig (procedure "(redis-connect hostname port)" (id redis-connect))) (p "Connect to a redis host, will produce an error if the connection fails. Returns an opaque pointer to the redis context."))
(def (sig (procedure "(redis-command context string)" (id redis-command))) (p "Send the string as a command to redis and parse the reply. Arrays are converted into lists. Due to a bug in hiredis if your command has a string argument which contains whitespace you need to use " (i "redis-command*") " instead as it is impossible to correctly escape whitespace characters. If you want to pass in binary data you should also look at " (i "redis-command*") " instead."))
(def (sig (procedure "(redis-command* context command . arguments)" (id redis-command*))) (p "Like " (i "redis-command") " but separately specifies the command and each of its arguments. When you have a string argument which contains whitespace you must use this function instead of " (i "redis-command") " because of a bug in hiredis."))
