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
13
namespace
isc
{
14
namespace
http {
15
16
class
PostHttpRequest;
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
33
PostHttpRequest
();
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
version
int version()
returns Kea hooks version.
Definition
bootp/version.cc:13
isc::http::HostHttpHeader
Represents HTTP Host header.
Definition
http_header.h:68
isc::http::HttpRequest
Represents HTTP request message.
Definition
request.h:57
isc::http::HttpRequest::Method
Method
HTTP methods.
Definition
request.h:61
isc::http::PostHttpRequest
Represents HTTP POST request.
Definition
post_request.h:29
isc::http::PostHttpRequest::PostHttpRequest
PostHttpRequest()
Constructor for inbound HTTP request.
Definition
post_request.cc:14
isc::http::BasicHttpAuthPtr
boost::shared_ptr< BasicHttpAuth > BasicHttpAuthPtr
Type of pointers to basic HTTP authentication objects.
Definition
basic_auth.h:70
isc::http::ConstPostHttpRequestPtr
boost::shared_ptr< const PostHttpRequest > ConstPostHttpRequestPtr
Pointer to const PostHttpRequest.
Definition
post_request.h:21
isc::http::PostHttpRequestPtr
boost::shared_ptr< PostHttpRequest > PostHttpRequestPtr
Pointer to PostHttpRequest.
Definition
post_request.h:19
isc
Defines the logger used by the top-level component of kea-lfc.
Definition
agent_parser.cc:148
request.h
isc::http::HttpVersion
HTTP protocol version.
Definition
http_types.h:14
src
lib
http
post_request.h
Generated on Fri Dec 6 2024 19:51:38 for Kea by
1.10.0