ktor
1.6.x
Select version
3.3.x
3.2.x
3.1.x
3.0.x
2.3.x
2.2.x
2.0.x
1.6.x
ktor-server-core
/
io.ktor.sessions
/
get
get
inline
fun
<
T
>
CurrentSession
.
get
(
)
:
T
?
Content copied to clipboard
Get session instance with type
T
Throws
kotlin.
Illegal
State
Exception
if no session provider registered for type
T