Description Usage Arguments Details Value See Also
The function is a wrapper for redisConnect function
that allows to pass host name, port, and authorization as a connection
string rather than separate variables.
1 2 3 | redis_connect(conn = redis_options("connection"), host, port, password, ...)
redis_close(...)
|
conn |
a connection string for Redis cache, see details |
host |
the Redis server host name, see
|
port |
the Redis port number, see
|
password |
the Redis authentification password, see
|
... |
other parameter passed to |
The connection string ... contains hostname, port, and
authorization (password) for the redis cache. The connection string is
of the form
host=<hostname>;port=<port>;password=<auth>.
The port can be included in the hostname with a colon as separator:
host=<hostname>:<port>;.
As password may contain any string, it must be the last part of the connection string.
logical value, TRUE if connection has been opened,
FALSE if a connection has already been opened (note that this has
not necessarily need to be the one specified by conn)
redisConnect for basis function to connect
to a Redis Server
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.