Enumerations
The following enumerations are available globally.
-
The supported options for the
zadd
command with Redis SortedSet types.See https://redis.io/commands/zadd#zadd-options-redis-302-or-greater
See moreDeclaration
Swift
public enum RedisSortedSetAddOption : String
-
The supported methods for aggregating results from the
zunionstore
orzinterstore
commands in Redis.For more information on these values, see https://redis.io/commands/zunionstore https://redis.io/commands/zinterstore
See moreDeclaration
Swift
public enum RedisSortedSetAggregateMethod : String
-
A representation of a Redis Serialization Protocol (RESP) primitive value.
This enum representation should be used only as a temporary intermediate representation of values, and should be sent to a Redis server or converted to Swift types as soon as possible.
Redis servers expect a single message packed into an
.array
, with all elements being.bulkString
representations of values. As such, all initializers convert to.bulkString
representations, as well as default conformances forRESPValueConvertible
.Each case of this type is a different listing in the RESP specification, and several computed properties are available to consistently convert values into Swift types.
See: https://redis.io/topics/protocol
See moreDeclaration
Swift
public enum RESPValue
-
When working with
See moreRedisClient
, runtime errors can be thrown to indicate problems with connection state, decoding assertions, or otherwise.Declaration
Swift
public enum RedisClientError : LocalizedError