public string register_route(string uid, string uri_template, RequestHandler handler) { return(_httpServerService.RegisterRoute(uid, uri_template, request => handler(PythonConvert.ToPythonDictionary(request)))); }
public string register_route(string uid, string uri_template, Func <PythonDictionary, PythonDictionary> handler) { return(_httpServerService.RegisterRoute(uid, uri_template, request => handler(request))); }