Kea 2.7.0
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_
 
std::string value_
 

Detailed Description

HTTP header context.

Definition at line 18 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 25 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 33 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 41 of file header_context.h.

Member Data Documentation

◆ name_

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

Definition at line 19 of file header_context.h.

◆ value_

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

Definition at line 20 of file header_context.h.


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