Ejemplo n.º 1
0
 public void Patch(Regex routePattern, RestHandlerRoute.Action action, PathToRegexUtil.PathToRegexOptions options = null)
 {
     AddRoute(@"PATCH", new RestHandlerRoute(routePattern, action, options ?? DefaultRouteOptions));
 }
Ejemplo n.º 2
0
 public void Options(string route, RestHandlerRoute.Action action, PathToRegexUtil.PathToRegexOptions options = null)
 {
     AddRoute(@"OPTIONS", new RestHandlerRoute(route, action, options ?? DefaultRouteOptions));
 }