Skip to content

Type Method

redis(_:jsonEncoder:jsonDecoder:)

Configures the application cache to use the given Redis ID and the default coders.
static func redis(_ id: RedisID, jsonEncoder: JSONEncoder = JSONEncoder(), jsonDecoder: JSONDecoder = JSONDecoder()) -> Application.Caches.Provider