options method

void options(
  1. String path,
  2. RequestHandler handler, {
  3. FilterConfig? filterConfig,
})

Implementation

void options(
  String path,
  RequestHandler handler, {
  FilterConfig? filterConfig,
}) =>
    routes.add(
      Route(
        path: path,
        method: HttpMethod.options,
        handler: handler,
        filterConfig: filterConfig,
      ),
    );