ktor-server-core / io.ktor.sessions / CookieConfiguration / httpOnly

httpOnly

var httpOnly: Boolean

This cookie is only for transferring over HTTP(s) and shouldn't be accessible via JavaScript