aboutsummaryrefslogtreecommitdiffstats
path: root/Input/ICNConnectionConsumerApi.h
diff options
context:
space:
mode:
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;