MCPcopy
hub / github.com/freshframework/fresh / get

Method get

packages/fresh/src/app.ts:268–271  ·  view source on GitHub ↗

* Add middlewares for GET requests at the specified path.

(path: string, ...middlewares: MaybeLazy<Middleware<State>>[])

Source from the content-addressed store, hash-verified

266 * Add middlewares for GET requests at the specified path.
267 */
268 get(path: string, ...middlewares: MaybeLazy<Middleware<State>>[]): this {
269 this.#commands.push(newHandlerCmd("GET", path, middlewares, true));
270 return this;
271 }
272 /**
273 * Add middlewares for POST requests at the specified path.
274 */

Callers 15

wsMethod · 0.95
checkUrlFunction · 0.45
crawlPageFunction · 0.45
main_test.tsFile · 0.45
sendMethod · 0.45
getClientIpFunction · 0.45
getClientLanguageFunction · 0.45
getPageReferrerFunction · 0.45
getCampaignObjectFunction · 0.45
isDocumentFunction · 0.45
GETFunction · 0.45
_middleware.tsFile · 0.45

Calls 1

newHandlerCmdFunction · 0.90

Tested by

no test coverage detected