MCPcopy
hub / github.com/julienschmidt/httprouter / DELETE

Method DELETE

router.go:232–234  ·  view source on GitHub ↗

DELETE is a shortcut for router.Handle(http.MethodDelete, path, handle)

(path string, handle Handle)

Source from the content-addressed store, hash-verified

230
231// DELETE is a shortcut for router.Handle(http.MethodDelete, path, handle)
232func (r *Router) DELETE(path string, handle Handle) {
233 r.Handle(http.MethodDelete, path, handle)
234}
235
236// Handle registers a new request handle with the given path and method.
237//

Callers 2

TestRouterAPIFunction · 0.80
TestRouterNotAllowedFunction · 0.80

Calls 1

HandleMethod · 0.95

Tested by 2

TestRouterAPIFunction · 0.64
TestRouterNotAllowedFunction · 0.64