crawlserv++  [under development]
Application for crawling and analyzing textual content of websites.
crawlservpp::Struct::NetworkSettings Struct Reference

Network settings containing the default proxy as well as host, port, and password of the TOR control server. More...

#include <NetworkSettings.hpp>

Properties

std::string defaultProxy
 The host name and the port of the default proxy to be used. More...
 
std::string torControlServer
 The host name of the TOR control server. More...
 
std::uint16_t torControlPort {}
 The port used by the TOR control server. More...
 
std::string torControlPassword
 The password used by the TOR control server. More...
 

Detailed Description

Network settings containing the default proxy as well as host, port, and password of the TOR control server.

These settings are read from the configuration file.

They will be transferred from the server to threads that use networking, i.e. crawler and extractor threads.

Member Data Documentation

◆ defaultProxy

std::string crawlservpp::Struct::NetworkSettings::defaultProxy

The host name and the port of the default proxy to be used.

Referenced by crawlservpp::Main::App::run(), and crawlservpp::Network::Curl::setConfigGlobal().

◆ torControlPassword

std::string crawlservpp::Struct::NetworkSettings::torControlPassword

The password used by the TOR control server.

Referenced by crawlservpp::Main::App::run().

◆ torControlPort

std::uint16_t crawlservpp::Struct::NetworkSettings::torControlPort {}

The port used by the TOR control server.

Referenced by crawlservpp::Main::App::run().

◆ torControlServer

std::string crawlservpp::Struct::NetworkSettings::torControlServer

The host name of the TOR control server.

Referenced by crawlservpp::Main::App::run().


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