Delete registers a route for the Delete HTTP Method. Returns a *Route and an error which will be filled if route wasn't registered successfully.
(relativePath string, handlersFn ...interface{})
| 210 | // |
| 211 | // Returns a *Route and an error which will be filled if route wasn't registered successfully. |
| 212 | func (api *APIContainer) Delete(relativePath string, handlersFn ...interface{}) *Route { |
| 213 | return api.Handle(http.MethodDelete, relativePath, handlersFn...) |
| 214 | } |
| 215 | |
| 216 | // Connect registers a route for the Connect HTTP Method. |
| 217 | // |