patch method

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

Adds a route that responds to a PATCH request.

Implementation

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