Skip to content

Initializer

init(id:data:)

Create a new Session.
init(id: SessionID? = nil, data: SessionData = .init())

Discussion

Normally you will use Request.session() to do this.