MCPcopy Index your code
hub / github.com/hydro-dev/Hydro / get

Function get

framework/framework/decorators.ts:106–106  ·  view source on GitHub ↗
(name, ...args)

Source from the content-addressed store, hash-verified

104 & ((name: string, ...args: Array<Type<any> | boolean | Validator | Converter<any>>) => MethodDecorator);
105
106export const get: DescriptorBuilder = (name, ...args) => _descriptor(_buildParam(name, 'get', ...args));
107export const query: DescriptorBuilder = (name, ...args) => _descriptor(_buildParam(name, 'get', ...args));
108export const post: DescriptorBuilder = (name, ...args) => _descriptor(_buildParam(name, 'post', ...args));
109export const route: DescriptorBuilder = (name, ...args) => _descriptor(_buildParam(name, 'route', ...args));

Callers

nothing calls this directly

Calls 2

_descriptorFunction · 0.85
_buildParamFunction · 0.85

Tested by

no test coverage detected