put method

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

Adds a route that responds to a PUT request.

Implementation

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