all method

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

A request handler that matches a specific route on all HTTP methods.

Implementation

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