Redis
extension Request.Redis
Extends Request.Redis for Site
Most of the Redis extensions are in the API-level RedisWrapper file, but some usage of Redis is specific to the Site code. This file takes Redis primitives and ‘wraps’ them in methods that describe the operation what we’re actually doing.
-
storeSessionMarker(_:
Asynchronousmarker: forUserID: ) Declaration
Swift
func storeSessionMarker(_ session: SessionID?, marker: String, forUserID: UUID) async throws
-
clearSessionMarker(_:
AsynchronousforUserID: ) Declaration
Swift
func clearSessionMarker(_ session: SessionID?, forUserID: UUID) async throws
-
clearAllSessionMarkers(forUserID:
Asynchronous) Declaration
Swift
func clearAllSessionMarkers(forUserID: UUID) async throws
-
getUserSessions(_:
Asynchronous) Declaration
Swift
func getUserSessions(_ userID: UUID) async throws -> [String : String]