# Enums

## RedisClientType

Define what kind of behavior is expected from the client.

Name | Description
`STANDALONE` | The client should work in single server mode (the default).
`SENTINEL` | The client should work in sentinel mode. When this mode is active use the link to define which role to get the client connection to.
`CLUSTER` | The client should work in cluster mode. When this mode is active use the link to define when replica nodes can be used for read only queries.

## RedisReplicas

When should Redis replica nodes be used for queries.

Name | Description
`NEVER` | Never use REPLICA, queries are always run on a MASTER node.
`SHARE` | Queries can be randomly run on both MASTER and REPLICA nodes.
`ALWAYS` | Queries are always run on REPLICA nodes (never on MASTER node).

## RedisRole

Define which kind of role to be used in HA mode.

Name | Description
`MASTER` | Use a MASTER node connection.
`REPLICA` | Use a REPLICA node connection.
`SENTINEL` | Use a SENTINEL node connection.

## ResponseType

Define the response types that the client can receive from REDIS.

Name | Description
`SIMPLE` | C String simple String.
`ERROR` | C String simple String representing an error.
`BOOLEAN` | boolean value.
`NUMBER` | numeric value.
`BULK` | byte array value.
`PUSH` | Push message
`ATTRIBUTE` | Attribute message
`MULTI` | List of multiple bulk responses (List, Set, Map).