@midwayjs/coreClassesMidwayMiddlewareServiceVersion: NextSur cette pageMidwayMiddlewareService <T, R, N>Index ConstructorsconstructorPropertiesapplicationContextMethodscomposeConstructors constructornew MidwayMiddlewareService<T, R, N>(applicationContext: IMidwayContainer): MidwayMiddlewareService<T, R, N>Type parametersTRN = unknownProperties readonlyapplicationContextapplicationContext: IMidwayContainerMethods composecompose(middleware: (string | CommonMiddleware<T, R, N>)[], app: IMidwayBaseApplication<Context>, name?: string): Promise<{ _name: string }>