Github user persiaAziz commented on a diff in the pull request:
https://github.com/apache/trafficserver/pull/213#discussion_r31775247
--- Diff: lib/atscppapi/src/Transaction.cc ---
@@ -98,6 +97,46 @@ Transaction::~Transaction()
delete state_;
}
+bool Transaction::configIntSet(TSOverridableConfigKey conf, int value)
+{
+ //txn,conf,value
+ TSReturnCode
res=TSHttpTxnConfigIntSet(state_->txn_,conf,(TSMgmtInt)value);
+ return (res==TS_SUCCESS);
+}
+bool Transaction::configIntGet(TSOverridableConfigKey conf, int *value)
+{
+ TSReturnCode res=TSHttpTxnConfigIntGet(state_->txn_, conf,
(TSMgmtInt*)value);
+ return (res==TS_SUCCESS);
+}
+
+bool Transaction::configFloatSet(TSOverridableConfigKey conf, float value)
+{
+ //txn,conf,value
+ TSReturnCode
res=TSHttpTxnConfigFloatSet(state_->txn_,conf,(TSMgmtFloat)value);
+ return (res==TS_SUCCESS);
+}
+bool Transaction::configFloatGet(TSOverridableConfigKey conf, float *value)
+{
+ TSReturnCode res=TSHttpTxnConfigFloatGet(state_->txn_, conf, value);
+ return (res==TS_SUCCESS);
+}
+
+bool Transaction::configStringSet(TSOverridableConfigKey conf, char*
value,int length)
--- End diff --
I will fix this.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---