Kea  1.9.9-git
post_request.h
Go to the documentation of this file.
1 // Copyright (C) 2016-2020 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 
44  PostHttpRequest(const Method& method, const std::string& uri, const HttpVersion& version,
45  const HostHttpHeader& host_header = HostHttpHeader(),
46  const BasicHttpAuthPtr& basic_auth = BasicHttpAuthPtr());
47 };
48 
49 
50 } // namespace http
51 } // namespace isc
52 
53 #endif
Represents HTTP Host header.
Definition: http_header.h:68
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
int version()
returns Kea hooks version.
Method
HTTP methods.
Definition: request.h:53
Defines the logger used by the top-level component of kea-dhcp-ddns.
boost::shared_ptr< BasicHttpAuth > BasicHttpAuthPtr
Type of pointers to basic HTTP authentication objects.
Definition: basic_auth.h:70
Represents HTTP request message.
Definition: request.h:49
boost::shared_ptr< PostHttpRequest > PostHttpRequestPtr
Pointer to PostHttpRequest.
Definition: post_request.h:16