diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-12 15:30:07 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-12 15:30:07 +0100 |
commit | 00ed7df1a09cad8862f2c586347f4f55c99681e5 (patch) | |
tree | e24ef2699affc7630ea42e728e62df7c6686f714 /server.h | |
parent | 3cb78411178f8458f889975799060e0bb866d2cf (diff) |
Consolidate HTTP+HTTPS via CRTP
Diffstat (limited to 'server.h')
-rw-r--r-- | server.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,11 +1,14 @@ #pragma once #include <boost/asio/io_context.hpp> +#include <boost/asio/ssl.hpp> #include "config.h" #include "plugin.h" #include "statistics.h" +namespace ssl = boost::asio::ssl; // from <boost/asio/ssl.hpp> + using namespace std::string_literals; // Base class for HTTP and HTTPS classes |