Simple Redis Client for Unity
This client is not actively maintained and it's still work in progress, but you're free to contribute if you want 🙂
Uniredis.Set(this, "Hello", "World", (error, result) =>
{
if (error == null)
{
Debug.Log(result);
}
});
- Unity-like APIs
- Tested codebase
- Only a database at a time is supported (for now)
- APPEND
- BITCOUNT
- SET
- SETNX
- SETRANGE
- STRLEN
- MSET
- MSETNX
- GET
- GETRANGE
- MGET
- INCR
- INCRBY
- INCRBYFLOAT
- DECR
- DECRBY
- DEL
- EXPIRE
- TTL
- SADD
- SCARD
- SREM
- SISMEMBER
- SMEMBERS
- SUNION
- SINTER
- SMOVE
- SPOP
- ZADD
- ZCARD
- ZCOUNT
- ZINCRBY
- ZRANGE
- ZRANK
- ZREM
- ZREMRANGEBYRANK
- ZREMRANGEBYSCORE
- ZSCORE
- ZRANGEBYSCORE
- HGET
- HGETALL
- HSET
- HSETNX
- HMSET
- HINCRBY
- HDEL
- HEXISTS
- HKEYS
- HLEN
- HSTRLEN
- HVALS
- PFADD
- PFCOUNT
- PFMERGE
- PSUBSCRIBE
- PUBSUB
- PUBLISH
- PUNSUBSCRIBE
- SUBSCRIBE
- UNSUBSCRIBE
- KEYS