[Proxy-]Authorization header producer More...

Collaboration diagram for Authorization:

Public Member Functions

 Authorization (const char *aHeader, const char *aDestination)
 
void commit (std::ostream &os)
 finalizes and writes the right HTTP header to the given stream More...
 

Public Attributes

std::string header
 HTTP header name to send. More...
 
std::string destination
 used when describing password More...
 
const char * user = nullptr
 user name to encode and send More...
 
const char * password = nullptr
 user password to encode and send More...
 

Detailed Description

Definition at line 182 of file squidclient.cc.

Constructor & Destructor Documentation

◆ Authorization()

Authorization::Authorization ( const char *  aHeader,
const char *  aDestination 
)
inline

Definition at line 185 of file squidclient.cc.

Member Function Documentation

◆ commit()

void Authorization::commit ( std::ostream &  os)

Member Data Documentation

◆ destination

std::string Authorization::destination

Definition at line 192 of file squidclient.cc.

◆ header

std::string Authorization::header

Definition at line 191 of file squidclient.cc.

◆ password

const char* Authorization::password = nullptr

Definition at line 194 of file squidclient.cc.

Referenced by main().

◆ user

const char* Authorization::user = nullptr

Definition at line 193 of file squidclient.cc.

Referenced by main().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors