patch method

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

Register a PATCH request handler.

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

Implementation

void patch(String pattern, RequestHandler handler) {
  register('PATCH', pattern, handler);
}