Re: [Cppcms-users] Fwd: cppcms::rpc::json_rpc_server usage.
Brought to you by:
artyom-beilis
|
From: Artyom B. <art...@ya...> - 2012-05-22 17:07:07
|
>
>
> void main(std:string url)
> {
> if(!dispatcher().dispatch(url)) {
>response().make_error_response(http::response::not_found);
> }
> cppcms::rpc::json_rpc_server::main(url);
> }
>};
>
You really mixing stuff incorrectly because you will never
be able to execute cppcms::rpc::json_rpc_server::main(url); properly
as you already have an output
Artyom
|