uHTTP for C++
uHTTP::HTTPHeader Class Reference

#include <HTTPHeader.h>

Public Member Functions

 HTTPHeader (const std::string &lineStr)
 
 HTTPHeader (const std::string &name, const std::string &value)
 
 HTTPHeader (HTTPHeader *header)
 
 ~HTTPHeader ()
 
void setName (const std::string &name)
 
const char * getName ()
 
bool hasName ()
 
void setValue (const std::string &value)
 
const char * getValue ()
 

Private Attributes

std::string name
 
std::string value
 

Constructor & Destructor Documentation

◆ HTTPHeader() [1/3]

uHTTP::HTTPHeader::HTTPHeader ( const std::string & lineStr)

◆ HTTPHeader() [2/3]

uHTTP::HTTPHeader::HTTPHeader ( const std::string & name,
const std::string & value )

◆ HTTPHeader() [3/3]

uHTTP::HTTPHeader::HTTPHeader ( HTTPHeader * header)

◆ ~HTTPHeader()

uHTTP::HTTPHeader::~HTTPHeader ( )

Member Function Documentation

◆ getName()

const char * uHTTP::HTTPHeader::getName ( )
inline

◆ getValue()

const char * uHTTP::HTTPHeader::getValue ( )
inline

◆ hasName()

bool uHTTP::HTTPHeader::hasName ( )
inline

◆ setName()

void uHTTP::HTTPHeader::setName ( const std::string & name)
inline

◆ setValue()

void uHTTP::HTTPHeader::setValue ( const std::string & value)
inline

Field Documentation

◆ name

std::string uHTTP::HTTPHeader::name
private

◆ value

std::string uHTTP::HTTPHeader::value
private

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