Method Options
Options(string, Delegate?)
Creates a route that responds to HTTP OPTIONS requests.
public static Route Options(string path, Delegate? action)
Parameters
pathstringThe URL path for the route.
actionDelegateThe action to be executed when the route is matched.
Returns
Options(string, RouteAction)
Creates a route that responds to HTTP OPTIONS requests.
public static Route Options(string path, RouteAction action)
Parameters
pathstringThe URL path for the route.
actionRouteActionThe action to be executed when the route is matched.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語