redis_client library

This library provides a Redis-compatible interface.

It allows users to use the client with familiar class names (e.g., RedisClient, RedisException). This is a wrapper around valkey_client to provide a seamless developer experience (DX) for those migrating from Redis or preferring Redis terminology.

Typedefs

RedisClient = ValkeyClient
Alias for ValkeyClient. Use this for Standalone/Sentinel connections.
RedisClientException = ValkeyClientException
Alias for ValkeyClientException. Thrown on invalid API usage.
RedisClusterClient = ValkeyClusterClient
Alias for ValkeyClusterClient. Use this for Cluster connections.
RedisConnectionException = ValkeyConnectionException
Alias for ValkeyConnectionException. Thrown on network/socket errors.
RedisConnectionSettings = ValkeyConnectionSettings
Alias for ValkeyConnectionSettings.
RedisException = ValkeyException
Alias for ValkeyException. The base class for all exceptions.
RedisLogLevel = ValkeyLogLevel
Alias for ValkeyLogLevel.
RedisMessage = ValkeyMessage
Alias for ValkeyMessage. Represents a Pub/Sub message.
RedisParsingException = ValkeyParsingException
Alias for ValkeyParsingException. Thrown on protocol parsing errors.
RedisPool = ValkeyPool
Alias for ValkeyPool. Use this for connection pooling.
RedisServerException = ValkeyServerException
Alias for ValkeyServerException. Thrown when the server responds with an error.