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
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.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.RedisSessionsDelegateA delegate object that controls key behavior of anApplication.Redis.Sessionsdriver.
Structures
RedisConfigurationConfiguration for connecting to a Redis instanceRedisIDA type-safe representation of a String representing individual identifiers of separate Redis connections and configurations.