valkey_client_base library

Classes

ClusterNodeInfo
Represents a single node (Master or Replica) in the Valkey cluster.
ClusterSlotRange
Represents a range of hash slots and the nodes responsible for them.
ServerMetadata
Holds metadata about the connected Valkey/Redis server.
Subscription
Represents an active subscription to channels or patterns.
ValkeyClientBase
The abstract base class for a Valkey client.
ValkeyConnectionSettings
Configuration for a Valkey connection. Holds all configuration options for creating a new connection.
ValkeyMessage
Represents a message received from a subscribed channel or pattern.

Enums

LoadBalancingStrategy
Defines how to distribute read traffic among available replicas.
ReadPreference
Defines which node to select for read operations.
RunningMode
Enum representing the running mode of the server.

Typedefs

AddressMapper = ({String host, int port}) Function(String host, int port)