summaryrefslogtreecommitdiffstats
path: root/src/lib/http/request_parser.h
diff options
context:
space:
mode:
authorMarcin Siodelski <marcin@isc.org>2017-01-09 20:19:46 +0100
committerMarcin Siodelski <marcin@isc.org>2017-01-11 10:41:33 +0100
commitdba214ecf3126f91697b58e4dde679e39353aadf (patch)
tree8b167620fef4a1a53a66f784127750eea2e5fb66 /src/lib/http/request_parser.h
parent[master] Added ChangeLog entry for #5100. (diff)
downloadkea-dba214ecf3126f91697b58e4dde679e39353aadf.tar.xz
kea-dba214ecf3126f91697b58e4dde679e39353aadf.zip
[5099] Implemented HttpListener and other classes.
- HttpConnection - HttpConnectionPool
Diffstat (limited to 'src/lib/http/request_parser.h')
-rw-r--r--src/lib/http/request_parser.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/http/request_parser.h b/src/lib/http/request_parser.h
index 0032657129..0cbce1e4be 100644
--- a/src/lib/http/request_parser.h
+++ b/src/lib/http/request_parser.h
@@ -1,4 +1,4 @@
-// Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -11,6 +11,7 @@
#include <http/request.h>
#include <util/state_model.h>
#include <boost/function.hpp>
+#include <boost/shared_ptr.hpp>
#include <list>
#include <stdint.h>
#include <string>
@@ -28,6 +29,11 @@ public:
isc::Exception(file, line, what) { };
};
+class HttpRequestParser;
+
+/// @brief Pointer to the @ref HttpRequestParser.
+typedef boost::shared_ptr<HttpRequestParser> HttpRequestParserPtr;
+
/// @brief A generic parser for HTTP requests.
///
/// This class implements a parser for HTTP requests. The parser derives from