diff options
Diffstat (limited to 'https.h')
-rw-r--r-- | https.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -38,11 +38,16 @@ public: private: ctx_type m_ctx; - + boost::asio::steady_timer m_certificates_timer; + std::function<void(const boost::system::error_code&)> m_certificates_timer_callback; + public: Server(Config& config, boost::asio::io_context& ioc, const Socket& socket, plugins_container_type& plugins, Statistics& statistics); virtual ~Server(); + void load_certificates(); + void reload_certificates(); + int start() override; }; |