Framework
Redis
Redis is a library to integrate RediStack with Vapor. It provides a number of extensions to both make configuring a Vapor application with Redis simple and to provide Redis implementations for Vapor protocols, such as the cache.
Overview
For more details, check out the docs.
Topics
Protocols
protocol RedisCacheDecoderA decoder whose input is convertible from aRESPValueloaded from Redis. Directly based onCombine.TopLevelDecoderbut can’t extend it because Combine isn’t available on Linux.protocol RedisCacheEncoderAn encoder whose output is convertible to aRESPValuefor storage in Redis. Directly based onCombine.TopLevelEncoderbut can’t extend it because Combine isn’t available on Linux.protocol RedisSessionsDelegateA delegate object that controls key behavior of anApplication.Redis.Sessionsdriver.
Structures
struct RedisConfigurationConfiguration for connecting to a Redis instancestruct RedisIDA type-safe representation of a String representing individual identifiers of separate Redis connections and configurations.