Method Options
Options(string, RouteAction)
Creates a route that responds to HTTP OPTIONS requests.
public static Route Options(string path, RouteAction action)
Parameters
path
stringThe URL path for the route.
action
RouteActionThe action to be executed when the route is matched.