跳到主要内容
版本:Next

MidwayExpressMiddlewareService

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

readonlyapplicationContext

applicationContext: IMidwayContainer

Methods

compose

  • compose(middleware: (string | CommonMiddleware<Context, Response<any, Record<string, any>>, NextFunction>)[], app: IMidwayExpressApplication, name?: string): Promise<{ _name: string }>