CacheStorage

class CacheStorage(delegate: SessionStorage, idleTimeout: Long) : SessionStorage

Functions

Link copied to clipboard
open suspend override fun invalidate(id: String)

Invalidates a session with the id identifier. This method prevents a session id from being accessible after this call.

Link copied to clipboard
open suspend override fun read(id: String): String

Reads a session with the id identifier.

Link copied to clipboard
open suspend override fun write(id: String, value: String)

Writes a session value for id.

Properties

Link copied to clipboard
val delegate: SessionStorage