Kea  1.9.9-git
isc::http::HttpRequestContext Struct Reference

HTTP request context. More...

#include <request_context.h>

Public Attributes

std::string body_
 HTTP request body. More...
std::vector< HttpHeaderContextheaders_
 Collection of HTTP headers. More...
unsigned int http_version_major_
 HTTP major version number. More...
unsigned int http_version_minor_
 HTTP minor version number. More...
std::string method_
 HTTP request method. More...
std::string uri_
 HTTP request URI. More...

Detailed Description

HTTP request context.

The context is used by the HttpRequestParser to store parsed data. This data is later used to create an instance of the HttpRequest or its derivation.

Definition at line 23 of file request_context.h.

Member Data Documentation

std::string isc::http::HttpRequestContext::body_

HTTP request body.

Definition at line 35 of file request_context.h.

std::vector<HttpHeaderContext> isc::http::HttpRequestContext::headers_

Collection of HTTP headers.

Definition at line 33 of file request_context.h.

unsigned int isc::http::HttpRequestContext::http_version_major_

HTTP major version number.

Definition at line 29 of file request_context.h.

unsigned int isc::http::HttpRequestContext::http_version_minor_

HTTP minor version number.

Definition at line 31 of file request_context.h.

std::string isc::http::HttpRequestContext::method_

HTTP request method.

Definition at line 25 of file request_context.h.

std::string isc::http::HttpRequestContext::uri_

HTTP request URI.

Definition at line 27 of file request_context.h.

The documentation for this struct was generated from the following file: