Re: [Cppcms-users] What exactly url_mapper does?
Brought to you by:
artyom-beilis
From: Abhishek K. <abh...@gm...> - 2011-08-04 14:23:14
|
For Example: flat_thread::flat_thread(cppcms::service &s) : thread_shared(s) { dispatcher().assign(".*",&flat_thread::prepare,this,0); mapper().assign("{1}"); } Here I am not able to understand the role of mapper().assign("{1}") I able to understand dispatcher().assign() is trying to assign the matched urls to prepare function of flat thread with 0th parameter. Is mapper().assign() ignorable here? Please enlighten :( thanks Abhishek Kaushik |