dragonfly_client library
This library provides a Dragonfly-compatible interface.
It allows users to use the client with familiar class names (e.g.,
DragonflyClient, DragonflyException).
This is a wrapper around TypeRedis to provide a seamless developer
experience (DX)
for those migrating from Dragonfly or preferring Dragonfly terminology.
Typedefs
- DragonflyClient = TRClient
- Alias for TRClient. Use this for Standalone/Sentinel connections.
- DragonflyClientException = TRClientException
- Alias for TRClientException. Thrown on invalid API usage.
- DragonflyClusterClient = TRClusterClient
- Alias for TRClusterClient. Use this for Cluster connections.
- DragonflyConnectionException = TRConnectionException
- Alias for TRConnectionException. Thrown on network/socket errors.
- DragonflyConnectionSettings = TRConnectionSettings
- Alias for TRConnectionSettings.
- DragonflyException = TRException
- Alias for TRException. The base class for all exceptions.
- DragonflyLogLevel = TRLogLevel
- Alias for TRLogLevel.
- DragonflyMessage = TRMessage
- Alias for TRMessage. Represents a Pub/Sub message.
- DragonflyParsingException = TRParsingException
- Alias for TRParsingException. Thrown on protocol parsing errors.
- DragonflyPool = TRPool
- Alias for TRPool. Use this for connection pooling.
- DragonflyServerException = TRServerException
- Alias for TRServerException. Thrown when the server responds with an error.