setSession

fun setSession(call: ApplicationCall, value: S)(source)

Sets a new session value for call.

The captured route session is updated as well, so later reads of getSession in the same handler see value.

Report a problem