Skip to content

Instance Method

makeRedisKey(for:)

Makes a key to identify the given session ID in Redis.
func makeRedisKey(for session: SessionID) -> RedisKey

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-.