Skip to content

Type Method

redis(_:encoder:decoder:)

Configures the application cache to use the given Redis ID and the provided encoder and decoder.
static func redis<E, D>(_ id: RedisID = .default, encoder: E, decoder: D) -> Application.Caches.Provider where E : RedisCacheEncoder, D : RedisCacheDecoder