delete method

Route<T> delete (String path, T handler, { Iterable<T> middleware })

Adds a route that responds to a DELETE request.

Implementation

Route<T> delete(String path, T handler, {Iterable<T> middleware}) {
  return addRoute('DELETE', path, handler, middleware: middleware);
}