MCPcopy
hub / github.com/tsedio/tsed / Get

Function Get

packages/specs/schema/src/decorators/operations/route.ts:38–40  ·  view source on GitHub ↗
(path: string | RegExp | unknown = "/", ...args: unknown[])

Source from the content-addressed store, hash-verified

36 * @httpMethod
37 */
38export function Get(path: string | RegExp | unknown = "/", ...args: unknown[]) {
39 return Operation(...[OperationVerbs.GET, path].concat(args));
40}
41
42/**
43 * This method is just like the `router.METHOD()` methods, except that it matches all HTTP methods (verbs).

Callers 15

IndexControllerClass · 0.90
IndexCtrlClass · 0.90
InteractionsCtrlClass · 0.90
VersionCtrlClass · 0.90
authorize.spec.tsFile · 0.90
IndexCtrlClass · 0.90
VersionCtrlClass · 0.90
IndexCtrlClass · 0.90
VersionCtrlClass · 0.90
HelloCtrlClass · 0.90
SocketPageCtrlClass · 0.90

Calls 2

OperationFunction · 0.85
concatMethod · 0.80

Tested by

no test coverage detected