Adds addArgument method to transaction class

There was a bit of refactoring to use the addArgument function, instead
of adding the items manually.
This commit is contained in:
Felipe Zimmerle
2016-06-17 14:34:22 -03:00
parent ebe8424758
commit 5c088c8be4
2 changed files with 43 additions and 40 deletions

View File

@@ -144,6 +144,9 @@ class Transaction {
bool intervention(ModSecurityIntervention *it);
bool addArgument(const std::string& orig, const std::string& key,
const std::string& value);
const char *getResponseBody();
int getResponseBodyLenth();