Re: [Cppcms-users] Getting Information about Hierarchy (application/dispatcher)
Brought to you by:
artyom-beilis
|
From: Artyom B. <art...@ya...> - 2013-03-03 16:18:53
|
No, unfortunately, today there is no such API. Also in general it should not be very hard to implement something like that for url_mapper. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ ----- Original Message ----- > From: Markus Raab <us...@ma...> > To: cpp...@li... > Cc: > Sent: Saturday, March 2, 2013 11:29 PM > Subject: [Cppcms-users] Getting Information about Hierarchy (application/dispatcher) > > Hi! > > I wonder if it is possible to iterate through the hierarchy created with > > http://cppcms.com/cppcms_ref/1.0.2/classcppcms_1_1mount__point.html > http://cppcms.com/cppcms_ref/1.0.2/classcppcms_1_1url__dispatcher.html > > as described in > > http://cppcms.com/wikipp/en/page/cppcms_1x_tut_url_mapping > http://cppcms.com/wikipp/en/page/cppcms_1x_tut_hierarchy > > The idea is to automate what the function "describe" does. > > It would be useful for: > 1.) REST style services with a large hierarchy when you want > to have an overview what exists but there is no database/ > filesystem which lets you answer this question. > 2.) For Debugging to have an idea why some url does not point > to the application/function you would like to have > > Is there already something I did not find? > > What do you think? > > Best regards > Markus > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |