MCPcopy Create free account
hub / github.com/devfeel/dotweb / PUT

Method PUT

server.go:336–338  ·  view source on GitHub ↗

PUT is a shortcut for router.Handle("PUT", path, handle)

(path string, handle HttpHandle)

Source from the content-addressed store, hash-verified

334
335// PUT is a shortcut for router.Handle("PUT", path, handle)
336func (server *HttpServer) PUT(path string, handle HttpHandle) RouterNode {
337 return server.Router().PUT(path, handle)
338}
339
340// PATCH is a shortcut for router.Handle("PATCH", path, handle)
341func (server *HttpServer) PATCH(path string, handle HttpHandle) RouterNode {

Callers

nothing calls this directly

Calls 2

RouterMethod · 0.95
PUTMethod · 0.65

Tested by

no test coverage detected