Instance Method
makeRedisKey(for:)
Makes a key to identify the given session ID in Redis.
func makeRedisKey(for sessionID: SessionID) -> RedisKey
Parameters
sessionIDThe session ID that needs to be transformed into a
RediStack.RedisKeyfor storage in Redis.
Return Value
A Redis key for the given sessionID to be used to identify associated SessionData in Redis.
Discussion
Note
This method is optional to implement.
The default implementation prefixes the sessionID with vrs-.
Default Implementations
RedisSessionsDelegate Implementations
makeRedisKey(for:)Makes a key to identify the given session ID in Redis.