put method

void put(
  1. String pattern,
  2. RequestHandler handler
)

Register a PUT request handler.

Shorthand for calling register with the method set to "PUT".

Implementation

void put(String pattern, RequestHandler handler) {
  register('PUT', pattern, handler);
}