options method

RouteEntry options(
  1. String path,
  2. Handler handler
)

An OPTIONS route.

Implementation

RouteEntry options(String path, Handler handler) =>
    match(const <String>['OPTIONS'], path, handler);