classredis::Redis

sys::Obj
  redis::Redis

Redis client.

close

Source

Void close()

Close this connection.

del

Source

Void del(Str key)

Convenience for invoke(["DEL", key]).

get

Source

Str? get(Str key)

Convenience for invoke(["GET", key]).

invoke

Source

Obj? invoke(Obj[] args)

Invoke the given command and return response.

open

Source

static new open(Str host, Int port := 6379)

Open a new Redis API client connection to given host.

pipeline

Source

Obj?[] pipeline(Obj[] invokes)

Pipeline multiple invoke requests and return batched results.

set

Source

Void set(Str key, Obj val)

Convenience for invoke(["SET", key, val]).