Instance Method
redis(_:store:with:)
Instructs your delegate object to handle the responsibility of storing the provided session data to Redis.
func redis<Client>(_ client: Client, store data: SessionData, with key: RedisKey) -> EventLoopFuture<Void> where Client : RedisClient
Parameters
clientThe Redis client to use for the operation.
dataThe session data to store in Redis.
keyThe Redis key to identify the data being stored.
Return Value
A notification NIO.EventLoopFuture that resolves when the operation has completed.