aboutsummaryrefslogtreecommitdiffstats
path: root/http-server/icn_request.h
diff options
context:
space:
mode:
authorMauro Sardara <msardara+fdio@cisco.com>2018-02-16 17:53:36 +0100
committerMauro Sardara <msardara+fdio@cisco.com>2018-02-16 18:18:16 +0100
commita81921f0fd4296f8def24665174062782b3480be (patch)
treed645459d7fb1fa1b76159cc548af71cce85dd343 /http-server/icn_request.h
parent0475d783825a6f649853da581df5d812cf5f3bae (diff)
Added reverse proxy (TCP --> ICN) functionality
Change-Id: I2305aa11aea4a37d3d63c6399c49389f78dfd91c Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'http-server/icn_request.h')
-rw-r--r--http-server/icn_request.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/http-server/icn_request.h b/http-server/icn_request.h
index ec9ee198..d18a6e64 100644
--- a/http-server/icn_request.h
+++ b/http-server/icn_request.h
@@ -13,8 +13,7 @@
* limitations under the License.
*/
-#ifndef ICN_WEB_SERVER_ICNREQUEST_H_
-#define ICN_WEB_SERVER_ICNREQUEST_H_
+#pragma once
#include "common.h"
#include "request.h"
@@ -32,6 +31,8 @@ class IcnRequest
std::string method,
std::string http_version);
+ ~IcnRequest() = default;
+
const std::string &getName() const;
void setName(const std::string &name);
@@ -51,6 +52,4 @@ class IcnRequest
};
-} // end namespace icn_httpserver
-
-#endif // ICN_WEB_SERVER_ICNREQUEST_H_
+} // end namespace icn_httpserver \ No newline at end of file