Kea 2.7.5
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
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
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
int version()
returns Kea hooks version.
Represents HTTP Host header.
Definition http_header.h:68
Represents HTTP request message.
Definition request.h:57
Method
HTTP methods.
Definition request.h:61
Represents HTTP POST request.
PostHttpRequest()
Constructor for inbound HTTP request.
boost::shared_ptr< BasicHttpAuth > BasicHttpAuthPtr
Type of pointers to basic HTTP authentication objects.
Definition basic_auth.h:70
boost::shared_ptr< const PostHttpRequest > ConstPostHttpRequestPtr
Pointer to const PostHttpRequest.
boost::shared_ptr< PostHttpRequest > PostHttpRequestPtr
Pointer to PostHttpRequest.
Defines the logger used by the top-level component of kea-lfc.
HTTP protocol version.
Definition http_types.h:14