POST is a shortcut for router.Handle("POST", path, handle)
(path string, handle HttpHandle)
| 329 | |
| 330 | // POST is a shortcut for router.Handle("POST", path, handle) |
| 331 | func (server *HttpServer) POST(path string, handle HttpHandle) RouterNode { |
| 332 | return server.Router().POST(path, handle) |
| 333 | } |
| 334 | |
| 335 | // PUT is a shortcut for router.Handle("PUT", path, handle) |
| 336 | func (server *HttpServer) PUT(path string, handle HttpHandle) RouterNode { |