EpcTools
An event based multi-threaded C++ development framework.
Public Member Functions | List of all members
EManagementUserNameHeader Class Reference

Custom HTTP header class for the X-User-Name header. More...

#include <emgmt.h>

Inheritance diagram for EManagementUserNameHeader:

Public Member Functions

 EManagementUserNameHeader ()
 Class constructor. More...
 
void parse (const std::string &data)
 Parses the user name from the buffer. More...
 
void write (std::ostream &os) const
 Serializes the user name to the output stream. More...
 
EStringgetUserName ()
 Returns the value of the user name. More...
 

Detailed Description

Custom HTTP header class for the X-User-Name header.

Constructor & Destructor Documentation

◆ EManagementUserNameHeader()

EManagementUserNameHeader::EManagementUserNameHeader ( )
inline

Class constructor.

Member Function Documentation

◆ getUserName()

EString& EManagementUserNameHeader::getUserName ( )
inline

Returns the value of the user name.

◆ parse()

void EManagementUserNameHeader::parse ( const std::string &  data)
inline

Parses the user name from the buffer.

Parameters
dataA string object containing the header data to parse.

◆ write()

void EManagementUserNameHeader::write ( std::ostream &  os) const
inline

Serializes the user name to the output stream.

Parameters
osThe output stream to write the data to.

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