Kea 2.7.5
isc::http::HttpRequestContext Struct Reference

HTTP request context. More...

#include <request_context.h>

Public Attributes

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

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

◆ body_

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

HTTP request body.

Definition at line 35 of file request_context.h.

◆ headers_

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

Collection of HTTP headers.

Definition at line 33 of file request_context.h.

◆ http_version_major_

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

HTTP major version number.

Definition at line 29 of file request_context.h.

◆ http_version_minor_

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

HTTP minor version number.

Definition at line 31 of file request_context.h.

◆ method_

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

HTTP request method.

Definition at line 25 of file request_context.h.

◆ uri_

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: