Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

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.