|
crawlserv++
[under development]
Application for crawling and analyzing textual content of websites.
|
Server settings containing its port, as well as allowed clients, origins, and actions. More...
#include <ServerSettings.hpp>
Properties | |
| std::string | port |
| The port of the server as string. More... | |
| std::string | allowedClients |
| A list of allowed IP addresses, separated by commas. More... | |
| bool | logsDeletable {false} |
| Indicates whether the deletion of logs is allowed using the frontend, i.e. server commands. More... | |
| bool | dataDeletable {false} |
| Indicates whether the deletion of data is allowed using the frontend, i.e. server commands. More... | |
| std::uint16_t | sleepOnSqlErrorS {serverSleepOnSqlErrorDefault} |
| Number of seconds to wait if a MySQL error occures before retrying and possibly terminating the thread. More... | |
Server settings containing its port, as well as allowed clients, origins, and actions.
These settings are read from the configuration file.
| std::string crawlservpp::Struct::ServerSettings::allowedClients |
A list of allowed IP addresses, separated by commas.
Referenced by crawlservpp::Main::App::run(), and crawlservpp::Main::Server::tick().
| bool crawlservpp::Struct::ServerSettings::dataDeletable {false} |
Indicates whether the deletion of data is allowed using the frontend, i.e. server commands.
Referenced by crawlservpp::Main::App::run(), and crawlservpp::Main::Server::tick().
| bool crawlservpp::Struct::ServerSettings::logsDeletable {false} |
Indicates whether the deletion of logs is allowed using the frontend, i.e. server commands.
Referenced by crawlservpp::Main::App::run(), and crawlservpp::Main::Server::tick().
| std::string crawlservpp::Struct::ServerSettings::port |
The port of the server as string.
Referenced by crawlservpp::Main::App::run(), and crawlservpp::Main::Server::Server().
| std::uint16_t crawlservpp::Struct::ServerSettings::sleepOnSqlErrorS {serverSleepOnSqlErrorDefault} |
Number of seconds to wait if a MySQL error occures before retrying and possibly terminating the thread.
Referenced by crawlservpp::Main::App::run(), crawlservpp::Main::Server::Server(), and crawlservpp::Main::Server::tick().