Refactor HTTPClient

This commit is contained in:
Vinnie Falco
2013-09-01 03:16:34 -07:00
parent 65df4b9daf
commit 5f1a8670dc
5 changed files with 454 additions and 478 deletions

View File

@@ -2729,7 +2729,7 @@ Json::Value RPCHandler::doSMS (Json::Value params, LoadType* loadType, Applicati
if (!params.isMember ("text"))
return rpcError (rpcINVALID_PARAMS);
HttpsClient::sendSMS (getApp().getIOService (), params["text"].asString ());
HTTPClient::sendSMS (getApp().getIOService (), params["text"].asString ());
return "sms dispatched";
}