options method
Future<void>
options(
- String match,
- HttpHandler handler, {
- List<
OidcOptions> ? security, - List<
HttpHandler> middlewares = const [],
A OPTIONS request handler
that match
es a specific route.
Implementation
Future<void> options(String match, HttpHandler handler,
{List<OidcOptions>? security,
List<HttpHandler> middlewares = const []}) async {
await route(match, security: security, middlewares: middlewares)
.options(handler);
}