delete method

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

Register a DELETE request handler.

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

Implementation

void delete(String pattern, RequestHandler handler) {
  register('DELETE', pattern, handler);
}