redisConnect: Connect to redis server on a given ip and port

Description Usage Arguments Details Value

Description

Connect to redis server on a given ip and port

Usage

1
  redisConnect(host = "127.0.0.1", port = 6379L)

Arguments

host

character, the ip address.

port

integer, the port number

Details

redisConnect will return a connection and set the connection in options. All redis API will use the latest constructed connection if the user does not pass a connection as argument.

Value

An instance of redisContext.


wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.