private RouteMapper ( string route, HTTPMethod methods, IHTTPRouteHandler handler ) : System.Collections.Generic | ||
route | string | |
methods | HTTPMethod | |
handler | IHTTPRouteHandler | |
return | System.Collections.Generic |
internal RouteMapper(string route, HTTPMethod methods, IHTTPRouteHandler handler)
{
_route = WoopsaConst.UrlSeparator + route.Trim(WoopsaConst.UrlSeparator);
_methods = methods;
_handler = handler;
_processors = new List<PostRouteProcessor>();
}