Kea 2.7.6
request_context.h
Go to the documentation of this file.
1// Copyright (C) 2016-2024 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_REQUEST_CONTEXT_H
8#define HTTP_REQUEST_CONTEXT_H
9
10#include <http/header_context.h>
11#include <boost/shared_ptr.hpp>
12#include <string>
13
14namespace isc {
15namespace http {
16
24 std::string method_;
26 std::string uri_;
28 unsigned int http_version_major_;
30 unsigned int http_version_minor_;
34 std::string body_;
35};
36
38typedef boost::shared_ptr<HttpRequestContext> HttpRequestContextPtr;
39
40} // namespace http
41} // namespace isc
42
43#endif
std::vector< HttpHeaderContext > HttpHeaderContexts
Collection of HTTP header contexts.
boost::shared_ptr< HttpRequestContext > HttpRequestContextPtr
Pointer to the HttpRequestContext.
Defines the logger used by the top-level component of kea-lfc.
std::string body_
HTTP request body.
std::string uri_
HTTP request URI.
std::string method_
HTTP request method.
HttpHeaderContexts headers_
Collection of HTTP headers.
unsigned int http_version_minor_
HTTP minor version number.
unsigned int http_version_major_
HTTP major version number.