Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CorsMiddleware

Index

Constructors

Methods

Constructors

constructor

Methods

Static allowEverything

  • allowEverything(): (req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction) => undefined | Response<any, Record<string, any>>
  • Returns (req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction) => undefined | Response<any, Record<string, any>>

      • (req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction): undefined | Response<any, Record<string, any>>
      • Parameters

        • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
        • res: Response<any, Record<string, any>>
        • next: NextFunction

        Returns undefined | Response<any, Record<string, any>>

Generated using TypeDoc