@midwayjs/securityClassesCSPMiddleware版本:Next本页总览CSPMiddleware HierarchyBaseMiddlewareCSPMiddlewareIndex ConstructorsconstructorPropertiesignorematchsecurityMethodscompatibleMiddlewareinitresolvesecurityNameConstructors constructornew CSPMiddleware(): CSPMiddlewareProperties ignoreignore: IgnoreMatcher<any>[]matchmatch: IgnoreMatcher<any>[]securitysecurity: SecurityOptionsMethods compatibleMiddlewarecompatibleMiddleware(context: any, req: any, res: any, next: any): Promise<any>initinit(): Promise<void>resolveresolve(app: any): (req: any, res: any, next: any) => Promise<any>securityNamesecurityName(): string