From a81921f0fd4296f8def24665174062782b3480be Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Fri, 16 Feb 2018 17:53:36 +0100 Subject: Added reverse proxy (TCP --> ICN) functionality Change-Id: I2305aa11aea4a37d3d63c6399c49389f78dfd91c Signed-off-by: Mauro Sardara --- http-server/request.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'http-server/request.h') diff --git a/http-server/request.h b/http-server/request.h index 6ffff296..3f61a46b 100644 --- a/http-server/request.h +++ b/http-server/request.h @@ -13,8 +13,7 @@ * limitations under the License. */ -#ifndef ICN_WEB_SERVER_REQUEST_H_ -#define ICN_WEB_SERVER_REQUEST_H_ +#pragma once #include "common.h" #include "content.h" @@ -46,6 +45,8 @@ class Request { virtual void read_remote_endpoint_data(socket_type &socket) { }; + virtual ~Request() = default; + const std::string &getMethod() const; void setMethod(const std::string &method); @@ -79,5 +80,3 @@ class Request { }; } // end namespace icn_httpserver - -#endif // ICN_WEB_SERVER_REQUEST_H_ -- cgit 1.2.3-korg