aboutsummaryrefslogtreecommitdiffstats
path: root/http-server/icn_request.h
diff options
context:
space:
mode:
authorMauro Sardara <msardara+fdio@cisco.com>2017-06-05 18:43:52 +0200
committerMauro Sardara <msardara+fdio@cisco.com>2017-06-05 20:32:17 +0200
commit4da1b7955fb3190c0e0646cfde99436aa140d271 (patch)
treebb9518b7aaf0c0493de03da83753d6a50f0aa9bf /http-server/icn_request.h
parente8a980e1bc33adacb763066dc263f447656cb351 (diff)
- Added proxy function
- Changed interface between library and application - Support for different build type Change-Id: I34ae75057490eb887d353e53c6d013f88bead04f Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'http-server/icn_request.h')
-rw-r--r--http-server/icn_request.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/http-server/icn_request.h b/http-server/icn_request.h
index c5aa10e4..ec9ee198 100644
--- a/http-server/icn_request.h
+++ b/http-server/icn_request.h
@@ -24,9 +24,9 @@ namespace icn_httpserver {
class IcnRequest
: public Request {
public:
- IcnRequest(std::shared_ptr<icnet::ProducerSocket> producer);
+ IcnRequest(std::shared_ptr<libl4::http::HTTPServerPublisher>& publisher);
- IcnRequest(std::shared_ptr<icnet::ProducerSocket> producer,
+ IcnRequest(std::shared_ptr<libl4::http::HTTPServerPublisher>& publisher,
std::string name,
std::string path,
std::string method,
@@ -40,14 +40,14 @@ class IcnRequest
void setRequest_id(int request_id);
- const std::shared_ptr<icnet::ProducerSocket> &getProducer() const;
+ const std::shared_ptr<libl4::http::HTTPServerPublisher> &getHttpPublisher() const;
- void setProducer(const std::shared_ptr<icnet::ProducerSocket> &producer);
+ void setProducer(const std::shared_ptr<libl4::http::HTTPServerPublisher> &producer);
private:
std::string name_;
int request_id_;
- std::shared_ptr<icnet::ProducerSocket> producer_;
+ std::shared_ptr<libl4::http::HTTPServerPublisher> publisher_;
};