diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-21 19:05:43 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-21 19:05:43 +0100 |
commit | c464265f60ddd367786b08f5d49cd7a6d650b7d6 (patch) | |
tree | d2c747cc041a92d38ac1d25eb47fc7e398d5af7b /config.h | |
parent | 3d0592e9238a59df54b3e3b757a38fa2e7f0ccfb (diff) |
First websocket connection
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -9,9 +9,17 @@ class Config private: std::string m_dataPath; uint64_t m_maxage; + std::string m_listenAddress; // ip address v4/v6 + int m_listenPort; + int m_threads; public: Config(const std::string& config_filename = default_config_filename); std::string getDataPath() const; uint64_t getMaxage() const; + + std::string getListenAddress() const; + int getListenPort() const; + + int getThreads() const; }; |