Add support for middleware
This commit is contained in:
@@ -9,6 +9,8 @@ import {Session} from "../../session/Session";
|
||||
|
||||
@Injectable()
|
||||
export class InjectSessionHTTPModule extends HTTPKernelModule {
|
||||
public readonly executeWithBlockingWriteback = true
|
||||
|
||||
public static register(kernel: HTTPKernel) {
|
||||
kernel.register(this).after(SetSessionCookieHTTPModule)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user