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, handlers ...context.Handler)
| 1504 | // |
| 1505 | // Returns a *Route and an error which will be filled if route wasn't registered successfully. |
| 1506 | func (api *APIBuilder) Delete(relativePath string, handlers ...context.Handler) *Route { |
| 1507 | return api.Handle(http.MethodDelete, relativePath, handlers...) |
| 1508 | } |
| 1509 | |
| 1510 | // Connect registers a route for the Connect HTTP Method. |
| 1511 | // |