PUT is a shortcut for router.Handle("PUT", path, handle)
(path string, handle HttpHandle)
| 334 | |
| 335 | // PUT is a shortcut for router.Handle("PUT", path, handle) |
| 336 | func (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) |
| 341 | func (server *HttpServer) PATCH(path string, handle HttpHandle) RouterNode { |