Kea 2.7.6
isc::http::HttpResponseContext Struct Reference

HTTP response context. More...

#include <response_context.h>

Public Attributes

std::string body_
 HTTP request body.
 
HttpHeaderContexts headers_
 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 22 of file response_context.h.

Member Data Documentation

◆ body_

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

HTTP request body.

Definition at line 34 of file response_context.h.

◆ headers_

HttpHeaderContexts isc::http::HttpResponseContext::headers_

Collection of HTTP headers.

Definition at line 32 of file response_context.h.

◆ http_version_major_

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

HTTP major version number.

Definition at line 24 of file response_context.h.

◆ http_version_minor_

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

HTTP minor version number.

Definition at line 26 of file response_context.h.

◆ phrase_

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

HTTP status phrase.

Definition at line 30 of file response_context.h.

◆ status_code_

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

HTTP status code.

Definition at line 28 of file response_context.h.


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