* Creates a new session middleware instance * * @param config - Session configuration with store settings * @param emitter - Event emitter service
(
config: SessionConfig & {
store: keyof KnownStores
stores: KnownStores
},
emitter: EmitterService
)
| 136 | * @param emitter - Event emitter service |
| 137 | */ |
| 138 | constructor( |
| 139 | config: SessionConfig & { |
| 140 | store: keyof KnownStores |
| 141 | stores: KnownStores |
| 142 | }, |
| 143 | emitter: EmitterService |
| 144 | ) { |
| 145 | this.#config = config |
| 146 | this.#emitter = emitter |
| 147 | } |
| 148 | |
| 149 | /** |
| 150 | * Handles the HTTP request by initializing session and committing changes |
nothing calls this directly
no outgoing calls
no test coverage detected