const classredis::RedisClient
sys::Obj redis::RedisClient
Redis client.
- close
Void close()Close this client all connections if applicable.
- del
Convenience for
invoke(["DEL", key]).- get
Convenience for
invoke(["GET", key]).- host
const Str hostHost name of Redis server.
- invoke
Invoke the given command and return response.
- make
new make(Str host, Int port := 6379)Create a new client instance for given host and port.
- pipeline
Obj?[] pipeline(Obj[] invokes)Pipeline multiple invoke requests and return batched results.
- port
const Int portPort number of Redis server.
- set
Convenience for
invoke(["SET", key, val]).