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

HTTP response context. More...

#include <response_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 phrase_
 HTTP status phrase. More...
 
unsigned int status_code_
 HTTP status code. More...
 

Detailed Description

HTTP response context.

This context is used by the HttpResponseParser to store parsed data. This data is later used to create an instance of the HttpResponse or its derivation.

Definition at line 23 of file response_context.h.

Member Data Documentation

std::string isc::http::HttpResponseContext::body_

HTTP request body.

Definition at line 35 of file response_context.h.

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

Collection of HTTP headers.

Definition at line 33 of file response_context.h.

unsigned int isc::http::HttpResponseContext::http_version_major_

HTTP major version number.

Definition at line 25 of file response_context.h.

unsigned int isc::http::HttpResponseContext::http_version_minor_

HTTP minor version number.

Definition at line 27 of file response_context.h.

std::string isc::http::HttpResponseContext::phrase_

HTTP status phrase.

Definition at line 31 of file response_context.h.

unsigned int isc::http::HttpResponseContext::status_code_

HTTP status code.

Definition at line 29 of file response_context.h.


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