MCPcopy Create free account
hub / github.com/adonisjs/session / constructor

Method constructor

src/session_collection.ts:46–48  ·  view source on GitHub ↗

* Creates a new SessionCollection instance * * @param config - Resolved session configuration

(config: ResolvedSessionConfig)

Source from the content-addressed store, hash-verified

44 * @param config - Resolved session configuration
45 */
46 constructor(config: ResolvedSessionConfig) {
47 this.#config = config
48 }
49
50 /**
51 * A store serves one request and remembers the sessions it read.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected