Protocol
RedisSessionsDelegate
A delegate object that controls key behavior of an
Application.Redis.Sessions driver.protocol RedisSessionsDelegate : Sendable
Topics
Instance Methods
makeNewID()Makes a new session ID token.makeRedisKey(for:)Makes a key to identify the given session ID in Redis.redis(_:fetchDataFor:)Asks the delegate object to fetch session data for a given Redis key.redis(_:store:with:)Instructs your delegate object to handle the responsibility of storing the provided session data to Redis.
Relationships
Inherits From
Swift.SendableSwift.SendableMetatype