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