Kea 2.5.8
isc::http::HttpResponseContext Struct Reference

HTTP response context. More...

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

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

◆ body_

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

HTTP request body.

Definition at line 35 of file response_context.h.

◆ headers_

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

Collection of HTTP headers.

Definition at line 33 of file response_context.h.

◆ http_version_major_

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

HTTP major version number.

Definition at line 25 of file response_context.h.

◆ http_version_minor_

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

HTTP minor version number.

Definition at line 27 of file response_context.h.

◆ phrase_

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

HTTP status phrase.

Definition at line 31 of file response_context.h.

◆ status_code_

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: