Package io.ktor.sessions

Types

Link copied to clipboard
interface Cache<in K : Any, V : Any>
Link copied to clipboard
class CacheStorage(delegate: SessionStorage, idleTimeout: Long) : SessionStorage

Functions

Link copied to clipboard
fun directorySessionStorage(rootDir: File, cached: Boolean = true): SessionStorage

Creates a session storage that serializes them into regular files under the specified rootDir