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
13namespace isc {
14namespace http {
15
16class PostHttpRequest;
17
19typedef boost::shared_ptr<PostHttpRequest> PostHttpRequestPtr;
21typedef boost::shared_ptr<const PostHttpRequest> ConstPostHttpRequestPtr;
22
30public:
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
Represents HTTP request message.
Definition: request.h:48
Method
HTTP methods.
Definition: request.h:52
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.
boost::shared_ptr< const PostHttpRequest > ConstPostHttpRequestPtr
Pointer to const PostHttpRequest.
Definition: post_request.h:21
boost::shared_ptr< PostHttpRequest > PostHttpRequestPtr
Pointer to PostHttpRequest.
Definition: post_request.h:19
Defines the logger used by the top-level component of kea-dhcp-ddns.
HTTP protocol version.
Definition: http_types.h:14