ktor-server-core / io.ktor.sessions / CurrentSession / clear

clear

abstract fun clear(name: String): Unit

Clear session instance for name

Exceptions

IllegalStateException - if no session provider registered with for name