On this page:
redis-auth!
redis-echo
redis-ping
redis-quit!
redis-select-db!
redis-swap-dbs!

6 Connection Commands

procedure

(redis-auth! client password)  boolean?

  client : redis?
  password : redis-string/c
AUTHs the current connection using password. Raises an exception if authentication is not set up or if the password is invalid.
Commands used by this function: AUTH

procedure

(redis-echo client message)  string?

  client : redis?
  message : string?
Returns message.
Commands used by this function: ECHO

procedure

(redis-ping client)  string?

  client : redis?
Pings the server and returns "PONG".
Commands used by this function: PING

procedure

(redis-quit! client)  void?

  client : redis?
Gracefully disconnects from the server.
Commands used by this function: QUIT

procedure

(redis-select-db! client db)  boolean?

  client : redis?
  db : (integer-in 0 16)
Selects the current database.
Commands used by this function: SELECT

procedure

(redis-swap-dbs! client a b)  boolean?

  client : redis?
  a : (integer-in 0 16)
  b : (integer-in 0 16)
Swaps the given databases.
Commands used by this function: SWAPDB