MCPcopy Create free account
hub / github.com/a-h/rest / Delete

Method Delete

api.go:239–241  ·  view source on GitHub ↗

Delete defines a DELETE request route for the given pattern.

(pattern string)

Source from the content-addressed store, hash-verified

237
238// Delete defines a DELETE request route for the given pattern.
239func (api *API) Delete(pattern string) (r *Route) {
240 return api.Route(http.MethodDelete, pattern)
241}
242
243// Connect defines a CONNECT request route for the given pattern.
244func (api *API) Connect(pattern string) (r *Route) {

Callers 1

TestSchemaFunction · 0.95

Calls 1

RouteMethod · 0.95

Tested by 1

TestSchemaFunction · 0.76