Adds extractArguments facilitator method

Little refactoring to use this method instead of doing it
manually in different parts of the code.
This commit is contained in:
Felipe Zimmerle
2016-06-17 15:15:44 -03:00
parent 5c088c8be4
commit dbaf79fb8e
2 changed files with 31 additions and 72 deletions

View File

@@ -146,6 +146,7 @@ class Transaction {
bool addArgument(const std::string& orig, const std::string& key,
const std::string& value);
bool extractArguments(const std::string &orig, const std::string& buf);
const char *getResponseBody();
int getResponseBodyLenth();