aboutsummaryrefslogtreecommitdiffstats
path: root/Input/ICNConnectionConsumerApi.h
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2020-02-18 17:34:12 +0000
committerGerrit Code Review <gerrit@fd.io>2020-02-18 17:34:12 +0000
commit94cccc7a047c871103785b295d4e5c4df58f4f74 (patch)
tree2b74210a0086b44b92992e66041a1ed3b71f6f25 /Input/ICNConnectionConsumerApi.h
parent41b77dd35b3ffd5363a350b3fc3d548298dbcc98 (diff)
parent0f41a0646ab2083b7ed64c61ac5175f325e7ad3e (diff)
Merge "[HICN-529] Fix viper API to work with hicn and cicn." into viper/master
Diffstat (limited to 'Input/ICNConnectionConsumerApi.h')
-rw-r--r--Input/ICNConnectionConsumerApi.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Input/ICNConnectionConsumerApi.h b/Input/ICNConnectionConsumerApi.h
index c4e89926..539e2e0f 100644
--- a/Input/ICNConnectionConsumerApi.h
+++ b/Input/ICNConnectionConsumerApi.h
@@ -96,7 +96,11 @@ public:
private:
libl4::http::HTTPClientConnection *hTTPClientConnection;
- libl4::http::HTTPResponse response;
+#ifdef HICNET
+ libl4::http::HTTPPayload response;
+#else
+ std::shared_ptr<libl4::http::HTTPResponse> response;
+#endif
float beta;
float drop;
std::string v6FirstWord;