aboutsummaryrefslogtreecommitdiff
path: root/libcmix-network/server.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix-network/server.hpp')
-rw-r--r--libcmix-network/server.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcmix-network/server.hpp b/libcmix-network/server.hpp
index fad7c71..6976f04 100644
--- a/libcmix-network/server.hpp
+++ b/libcmix-network/server.hpp
@@ -19,6 +19,9 @@ struct ListenSettings {
std::string ipv6_inaddr; ///< Listen on this ipv6 address
uint16_t port; ///< Listen on this port.
bool use_ssl; ///< Should we use ssl
+ std::string cert; ///< The cert to use in pem format.
+ std::string key; ///< The corresponding key in pem format.
+ std::string dhparam; ///< The diffie helman parameters.
};
/*!
@@ -50,4 +53,6 @@ public:
*/
Server(boost::asio::io_service& io_service, ListenSettings const& listen_settings, std::shared_ptr<boost::asio::ssl::context> ctx, SSLAcceptHandler accept_handler);
+ void close();
+
};