Re: [Cppcms-users] json_rpc and json questions
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2011-05-21 09:40:52
|
Small note, instead of: return_response("Not authorised"); return false; You can also return a error on HTTP level (not JSON-RPC): context().response().make_error_response(cppcms::http::response::forbidden); return false; But I think this is generally bad idea to make a error response on transport level rather then on JSON-RPC level. Artyom |