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

Method delete

packages/fresh/src/app.ts:296–299  ·  view source on GitHub ↗

* Add middlewares for DELETE requests at the specified path.

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

Source from the content-addressed store, hash-verified

294 * Add middlewares for DELETE requests at the specified path.
295 */
296 delete(path: string, ...middlewares: MaybeLazy<Middleware<State>>[]): this {
297 this.#commands.push(newHandlerCmd("DELETE", path, middlewares, true));
298 return this;
299 }
300 /**
301 * Add middlewares for HEAD requests at the specified path.
302 */

Callers 11

GETFunction · 0.45
app_test.tsxFile · 0.45
staticFilesFunction · 0.45
corsFunction · 0.45
fetchPartialsFunction · 0.45
preact_hooks.tsFile · 0.45
updateFileFunction · 0.45
configureServerFunction · 0.45
configureServerFunction · 0.45
usingEnvFunction · 0.45
build_test.tsFile · 0.45

Calls 1

newHandlerCmdFunction · 0.90

Tested by

no test coverage detected