MCPcopy
hub / github.com/nestjs/nest / configure

Method configure

integration/hello-world/e2e/middleware-execute-order.spec.ts:61–67  ·  view source on GitHub ↗
(consumer: MiddlewareConsumer)

Source from the content-addressed store, hash-verified

59})
60class ModuleB {
61 configure(consumer: MiddlewareConsumer) {
62 consumer
63 .apply((req, res, next) => res.send(RETURN_VALUE_B))
64 .forRoutes('hello')
65 .apply((req, res, next) => res.send(RETURN_VALUE_B))
66 .forRoutes('ping');
67 }
68}
69
70@Module({

Callers

nothing calls this directly

Calls 3

forRoutesMethod · 0.65
applyMethod · 0.65
sendMethod · 0.45

Tested by

no test coverage detected