MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / addCaptureRoute

Method addCaptureRoute

framework/framework/server.ts:860–862  ·  view source on GitHub ↗
(prefix: string, cb: any)

Source from the content-addressed store, hash-verified

858 }
859
860 public addCaptureRoute(prefix: string, cb: any) {
861 this.captureAllRoutes[prefix] = cb;
862 }
863
864 private _applyMixin(Target: any, MixinClass: Partial<any> | ((t: Partial<any>) => Partial<any>)) {
865 if (!('prototype' in Target)) throw new Error('Target must be a class.');

Callers 2

applyFunction · 0.80
applyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected