summaryrefslogtreecommitdiffhomepage
path: root/server.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-12 15:30:07 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-12 15:30:07 +0100
commit00ed7df1a09cad8862f2c586347f4f55c99681e5 (patch)
treee24ef2699affc7630ea42e728e62df7c6686f714 /server.h
parent3cb78411178f8458f889975799060e0bb866d2cf (diff)
Consolidate HTTP+HTTPS via CRTP
Diffstat (limited to 'server.h')
-rw-r--r--server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/server.h b/server.h
index 096f7f6..131bae9 100644
--- a/server.h
+++ b/server.h
@@ -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