Kea  1.5.0
post_request.h
Go to the documentation of this file.
1 // Copyright (C) 2016-2018 Internet Systems Consortium, Inc. ("ISC")
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 
7 #ifndef HTTP_POST_REQUEST_H
8 #define HTTP_POST_REQUEST_H
9 
10 #include <http/request.h>
11 #include <boost/shared_ptr.hpp>
12 
13 namespace isc {
14 namespace http {
15 
17 
19 typedef boost::shared_ptr<PostHttpRequest> PostHttpRequestPtr;
21 typedef boost::shared_ptr<const PostHttpRequest> ConstPostHttpRequestPtr;
22 
29 class PostHttpRequest : public HttpRequest {
30 public:
31 
34 
40  PostHttpRequest(const Method& method, const std::string& uri, const HttpVersion& version);
41 
42 };
43 
44 
45 } // namespace http
46 } // namespace isc
47 
48 #endif
HTTP protocol version.
Definition: http_types.h:14
boost::shared_ptr< const PostHttpRequest > ConstPostHttpRequestPtr
Pointer to const PostHttpRequest.
Definition: post_request.h:21
Represents HTTP POST request.
Definition: post_request.h:29
PostHttpRequest()
Constructor for inbound HTTP request.
Definition: post_request.cc:14
Method
HTTP methods.
Definition: request.h:52
Defines the logger used by the top-level component of kea-dhcp-ddns.
Represents HTTP request message.
Definition: request.h:48
int version()
returns Kea hooks version.
boost::shared_ptr< PostHttpRequest > PostHttpRequestPtr
Pointer to PostHttpRequest.
Definition: post_request.h:16