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

Method handlerMixin

framework/framework/server.ts:895–897  ·  view source on GitHub ↗
(MixinClass: Partial<HandlerCommon> | ((s: HandlerCommon) => Partial<HandlerCommon>))

Source from the content-addressed store, hash-verified

893 }
894
895 public handlerMixin(MixinClass: Partial<HandlerCommon> | ((s: HandlerCommon) => Partial<HandlerCommon>)) {
896 return this._applyMixin(HandlerCommon, MixinClass);
897 }
898
899 public httpHandlerMixin(MixinClass: Partial<Handler> | ((s: Handler) => Partial<Handler>)) {
900 return this._applyMixin(Handler, MixinClass);

Callers 1

applyFunction · 0.80

Calls 1

_applyMixinMethod · 0.95

Tested by

no test coverage detected