OPTIONS is a shortcut for router.Handle("OPTIONS", path, handle)
(path string, handle HttpHandle)
| 324 | |
| 325 | // OPTIONS is a shortcut for router.Handle("OPTIONS", path, handle) |
| 326 | func (server *HttpServer) OPTIONS(path string, handle HttpHandle) RouterNode { |
| 327 | return server.Router().OPTIONS(path, handle) |
| 328 | } |
| 329 | |
| 330 | // POST is a shortcut for router.Handle("POST", path, handle) |
| 331 | func (server *HttpServer) POST(path string, handle HttpHandle) RouterNode { |