summaryrefslogtreecommitdiffhomepage
path: root/https.h
diff options
context:
space:
mode:
Diffstat (limited to 'https.h')
-rw-r--r--https.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/https.h b/https.h
index 738e122..e87fc6d 100644
--- a/https.h
+++ b/https.h
@@ -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;
};