Kea 2.7.6
isc::http::HttpHeaderContext Struct Reference

HTTP header context. More...

#include <header_context.h>

+ Inheritance diagram for isc::http::HttpHeaderContext:

Public Member Functions

 HttpHeaderContext ()
 Constructor.
 
 HttpHeaderContext (const std::string &name, const int64_t value)
 Constructor.
 
 HttpHeaderContext (const std::string &name, const std::string &value)
 Constructor.
 

Public Attributes

std::string name_
 Header name.
 
std::string value_
 Header value.
 

Detailed Description

HTTP header context.

Definition at line 19 of file header_context.h.

Constructor & Destructor Documentation

◆ HttpHeaderContext() [1/3]

isc::http::HttpHeaderContext::HttpHeaderContext ( )
inline

Constructor.

Sets header name and value to empty strings.

Definition at line 29 of file header_context.h.

◆ HttpHeaderContext() [2/3]

isc::http::HttpHeaderContext::HttpHeaderContext ( const std::string & name,
const std::string & value )
inline

Constructor.

Parameters
nameHeader name.
valueHeader value.

Definition at line 37 of file header_context.h.

◆ HttpHeaderContext() [3/3]

isc::http::HttpHeaderContext::HttpHeaderContext ( const std::string & name,
const int64_t value )
inline

Constructor.

Parameters
nameHeader name.
valueNumeric value for the header.

Definition at line 45 of file header_context.h.

Member Data Documentation

◆ name_

std::string isc::http::HttpHeaderContext::name_

Header name.

Definition at line 21 of file header_context.h.

◆ value_

std::string isc::http::HttpHeaderContext::value_

Header value.

Definition at line 24 of file header_context.h.


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