|
bref
API 2014 of the Zia HTTP server.
|
Helper class for BrefValue and the server configuration. More...
#include <IConfHelper.h>
Public Member Functions | |
| virtual const BrefValue & | findValue (std::string const &key) const =0 |
| Return an acceptable value for "key" param. | |
| virtual const BrefValue & | findValue (std::string const &key, HttpRequest const &request) const =0 |
| Return an acceptable value for "key" param, using request. | |
Helper class for BrefValue and the server configuration.
This class aimed to give an easier access to the server configuration.
| virtual const BrefValue& bref::IConfHelper::findValue | ( | std::string const & | key | ) | const [pure virtual] |
Return an acceptable value for "key" param.
| virtual const BrefValue& bref::IConfHelper::findValue | ( | std::string const & | key, |
| HttpRequest const & | request | ||
| ) | const [pure virtual] |
Return an acceptable value for "key" param, using request.
This can be use, for example to find virtual host configuration value for a given key.
1.8.0