Client request information object. More...
Public Member Functions | |
request (const std::string &reqcmd, const config &reqcfg, network::connection reqsock) | |
Constructor. More... | |
Public Attributes | |
const std::string & | cmd |
const config & | cfg |
const network::connection | sock |
const std::string | addr |
Client request information object.
Contains data and metadata associated with a single request from a remote add-ons client, in a light-weight format for passing to request handlers.
Definition at line 52 of file campaign_server.hpp.
|
inline |
Constructor.
reqcmd | Request command. |
reqcfg | Request WML body. |
reqsock | Client socket that initiated the request. |
Definition at line 71 of file campaign_server.hpp.
const std::string campaignd::server::request::addr |
Definition at line 58 of file campaign_server.hpp.
Referenced by campaignd::server::handle_delete(), campaignd::server::handle_request_campaign(), campaignd::server::handle_request_campaign_list(), campaignd::server::handle_request_terms(), and campaignd::server::handle_upload().
const config& campaignd::server::request::cfg |
Definition at line 55 of file campaign_server.hpp.
Referenced by campaignd::server::handle_change_passphrase(), campaignd::server::handle_delete(), campaignd::server::handle_request_campaign(), campaignd::server::handle_request_campaign_list(), and campaignd::server::handle_upload().
const std::string& campaignd::server::request::cmd |
Definition at line 54 of file campaign_server.hpp.
const network::connection campaignd::server::request::sock |
Definition at line 57 of file campaign_server.hpp.
Referenced by campaignd::server::handle_change_passphrase(), campaignd::server::handle_delete(), campaignd::server::handle_request_campaign(), campaignd::server::handle_request_campaign_list(), campaignd::server::handle_request_terms(), and campaignd::server::handle_upload().