delete method

Future<void> delete(
  1. String match,
  2. HttpHandler handler, {
  3. List<OidcOptions>? security,
  4. List<HttpHandler> middlewares = const [],
})

A DELETE request handler that matches a specific route.

Implementation

Future<void> delete(String match, HttpHandler handler,
    {List<OidcOptions>? security,
    List<HttpHandler> middlewares = const []}) async {
  await route(match, security: security, middlewares: middlewares)
      .delete(handler);
}