spring-framework / org.springframework.web.server.session / WebSessionStore / createWebSession

createWebSession

abstract fun createWebSession(): Mono<WebSession>

Create a new WebSession.

Note that this does nothing more than create a new instance. The session can later be started explicitly via WebSession#start() or implicitly by adding attributes -- and then persisted via WebSession#save().

Return
the created session instance