TRACE registers a new TRACE route for a path with matching handler in the router with optional route-level middleware. Panics on error.
(path string, h HandlerFunc, m ...MiddlewareFunc)
| 542 | // TRACE registers a new TRACE route for a path with matching handler in the |
| 543 | // router with optional route-level middleware. Panics on error. |
| 544 | func (e *Echo) TRACE(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo { |
| 545 | return e.Add(http.MethodTrace, path, h, m...) |
| 546 | } |
| 547 | |
| 548 | // RouteNotFound registers a special-case route which is executed when no other route is found (i.e. HTTP 404 cases) |
| 549 | // for current request URL. |