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 TypeRedis to provide a seamless developer experience (DX) for those migrating from Redis or preferring Redis terminology.

Typedefs

RedisClient = TRClient
Alias for TRClient. Use this for Standalone/Sentinel connections.
RedisClientException = TRClientException
Alias for TRClientException. Thrown on invalid API usage.
RedisClusterClient = TRClusterClient
Alias for TRClusterClient. Use this for Cluster connections.
RedisConnectionException = TRConnectionException
Alias for TRConnectionException. Thrown on network/socket errors.
RedisConnectionSettings = TRConnectionSettings
Alias for TRConnectionSettings.
RedisException = TRException
Alias for TRException. The base class for all exceptions.
RedisLogLevel = TRLogLevel
Alias for TRLogLevel.
RedisMessage = TRMessage
Alias for TRMessage. Represents a Pub/Sub message.
RedisParsingException = TRParsingException
Alias for TRParsingException. Thrown on protocol parsing errors.
RedisPool = TRPool
Alias for TRPool. Use this for connection pooling.
RedisServerException = TRServerException
Alias for TRServerException. Thrown when the server responds with an error.