bref
API 2014 of the Zia HTTP server.
|
This structure defines the environment of a request. More...
#include <Pipeline.h>
Classes | |
struct | Client |
This structure contains client informations. More... | |
Public Member Functions | |
Environment (const ServerConfig &theServerConfig, const IConfHelper &theServerConfigHelper, ILogger *theLogger, Client theClient) | |
Public Attributes | |
const ServerConfig & | serverConfig |
const IConfHelper & | serverConfigHelper |
ILogger * | logger |
struct bref::Environment::Client | client |
This structure defines the environment of a request.
The environment of a request contains a logger and the server configuration.
We choose to do this because an implementation is free to handle different ILogger (with different output file) for each virtual host for example.
The client description
the logger for a given context
the server configuration
the helper on server configuration