Kea
2.7.5
request_context.h
Go to the documentation of this file.
1
// Copyright (C) 2016 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
#include <vector>
14
15
namespace
isc
{
16
namespace
http {
17
23
struct
HttpRequestContext
{
25
std::string
method_
;
27
std::string
uri_
;
29
unsigned
int
http_version_major_
;
31
unsigned
int
http_version_minor_
;
33
std::vector<HttpHeaderContext>
headers_
;
35
std::string
body_
;
36
};
37
39
typedef
boost::shared_ptr<HttpRequestContext>
HttpRequestContextPtr
;
40
41
}
// namespace http
42
}
// namespace isc
43
44
#endif
header_context.h
isc::http::HttpRequestContextPtr
boost::shared_ptr< HttpRequestContext > HttpRequestContextPtr
Pointer to the HttpRequestContext.
Definition
request_context.h:39
isc
Defines the logger used by the top-level component of kea-lfc.
Definition
agent_parser.cc:148
isc::http::HttpRequestContext
HTTP request context.
Definition
request_context.h:23
isc::http::HttpRequestContext::body_
std::string body_
HTTP request body.
Definition
request_context.h:35
isc::http::HttpRequestContext::uri_
std::string uri_
HTTP request URI.
Definition
request_context.h:27
isc::http::HttpRequestContext::method_
std::string method_
HTTP request method.
Definition
request_context.h:25
isc::http::HttpRequestContext::http_version_minor_
unsigned int http_version_minor_
HTTP minor version number.
Definition
request_context.h:31
isc::http::HttpRequestContext::headers_
std::vector< HttpHeaderContext > headers_
Collection of HTTP headers.
Definition
request_context.h:33
isc::http::HttpRequestContext::http_version_major_
unsigned int http_version_major_
HTTP major version number.
Definition
request_context.h:29
src
lib
http
request_context.h
Generated on Wed Nov 20 2024 11:53:25 for Kea by
1.10.0