Skip to main content
Version: Next

NextJSMiddleware

Implements

  • IMiddleware<Context, NextFunction>

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

appDir

appDir: string

env

env: MidwayEnvironmentService

Methods

init

  • init(): Promise<void>

resolve

  • resolve(app: IMidwayBaseApplication<Context>): (ctx: Context, next: NextFunction) => Promise<any>

staticgetName

  • getName(): string