MCPcopy Create free account
hub / github.com/middleapi/orpc / CompositeNodeHttpHandlerPlugin

Class CompositeNodeHttpHandlerPlugin

packages/server/src/adapters/node/plugin.ts:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10export class CompositeNodeHttpHandlerPlugin<T extends Context, TPlugin extends NodeHttpHandlerPlugin<T>>
11 extends CompositeStandardHandlerPlugin<T, TPlugin> implements NodeHttpHandlerPlugin<T> {
12 initRuntimeAdapter(options: NodeHttpHandlerOptions<T>): void {
13 for (const plugin of this.plugins) {
14 plugin.initRuntimeAdapter?.(options)
15 }
16 }
17}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected