
classredis::Redis
sys::Obj redis::Redis
Redis client.
- close
Void close()
Close this connection.
- del
Convenience for
invoke(["DEL", key])
.- get
Convenience for
invoke(["GET", key])
.- invoke
Invoke the given command and return response.
- open
static new open(Str host, Int port := 6379)
Open a new Redis API client connection to given host.
- pipeline
Obj?[] pipeline(Obj[] invokes)
Pipeline multiple invoke requests and return batched results.
- set
Convenience for
invoke(["SET", key, val])
.