mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 07:35:12 -04:00
Added name of requests to be used by GUI
This commit is contained in:
parent
ae95b49f8a
commit
39967b7ce7
3 changed files with 13 additions and 0 deletions
|
@ -368,6 +368,9 @@ std::string ApiServer::handleRequest(Request &request)
|
|||
if(data.isRawData())
|
||||
return data.getRawData();
|
||||
|
||||
if(!resp.mCallbackName.empty())
|
||||
outstream << resource_api::makeKeyValueReference("callback_name", resp.mCallbackName);
|
||||
|
||||
outstream << resource_api::makeKeyValue("debug_msg", debugString.str());
|
||||
outstream << resource_api::makeKeyValueReference("returncode", returncode);
|
||||
if(!resp.mStateToken.isNull())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue