Package io.ktor.sessions
Types
Link copied to clipboard
class CacheStorage(delegate: SessionStorage, idleTimeout: Long) : SessionStorage
Content copied to clipboard
Functions
Link copied to clipboard
fun directorySessionStorage(rootDir: File, cached: Boolean = true): SessionStorage
Content copied to clipboard
Creates a session storage that serializes them into regular files under the specified rootDir