all method

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

Adds a route that responds to any request matching the given path.

Implementation

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