get method

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

A GET request handler that matches a specific route.

Implementation

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