crawlserv++  [under development]
Application for crawling and analyzing textual content of websites.
Config.hpp File Reference
#include "../Module/Config.hpp"
#include <cstdint>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for Config.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  crawlservpp::Network::Config
 Abstract class containing the network-specific configuration for threads. More...
 
struct  crawlservpp::Network::Config::Entries
 Configuration entries for analyzer threads. More...
 

Namespaces

 crawlservpp::Network
 Namespace for networking classes.
 

Constants

constexpr std::uint16_t crawlservpp::Network::httpVersionAny {0}
 Use any available HTTP version. More...
 
constexpr std::uint16_t crawlservpp::Network::httpVersion1 {1}
 Use HTTP/1 only. More...
 
constexpr std::uint16_t crawlservpp::Network::httpVersion11 {2}
 Use HTTP/1.1 only. More...
 
constexpr std::uint16_t crawlservpp::Network::httpVersion2 {3}
 Attempt to use HTTP/2, fall back to HTTP/1.1. More...
 
constexpr std::uint16_t crawlservpp::Network::httpVersion2Only {4}
 Use non-TLS HTTP/2, even if HTTPS is not available. More...
 
constexpr std::uint16_t crawlservpp::Network::httpVersion2Tls {5}
 Attempt to use HTTP/2 over TLS, fall back to HTTP/1.1. More...
 
constexpr std::uint16_t crawlservpp::Network::httpVersion3Only {6}
 Use HTTP/3 only. More...
 
constexpr std::uint16_t crawlservpp::Network::defaultConnectionsMax {5}
 Default maximum number of connections. More...
 
constexpr std::int64_t crawlservpp::Network::defaultDnsCacheTimeOut {60}
 Default lifetime of DNS cache entries. More...
 
constexpr std::uint64_t crawlservpp::Network::defaultRedirectMax {20}
 Default maximum number of automatic redirects by default. More...
 
constexpr std::uint64_t crawlservpp::Network::defaultResetTorOnlyAfter {60}
 Default number of seconds that need to have been passed before requesting a new TOR identity. More...
 
constexpr std::uint64_t crawlservpp::Network::defaultTcpKeepAliveIdle {60}
 Default delay that will be waited before sending keep-alive probes, in seconds. More...
 
constexpr std::uint64_t crawlservpp::Network::defaultTcpKeepAliveInterval {60}
 Default interval for TCP Keep-alive probing, in seconds. More...
 
constexpr std::uint64_t crawlservpp::Network::defaultTimeOut {300}
 Default connecting time-out, in seconds. More...
 
constexpr std::uint64_t crawlservpp::Network::defaultTimeOutRequest {300}
 Default request time-out, in seconds. More...
 
constexpr auto crawlservpp::Network::defaultProtocol {"https://"sv}
 Default protocol. More...