From 2bb0d2ab46bf8104ab6e0b96fdefbeb20aa4c9e4 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 12 Jan 2023 15:50:15 +0100 Subject: Move https.* to http.* --- http.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 http.h (limited to 'http.h') diff --git a/http.h b/http.h new file mode 100644 index 0000000..226490e --- /dev/null +++ b/http.h @@ -0,0 +1,22 @@ +#pragma once + +#include +#include + +#include +#include +#include + +#include +#include +#include +#include + +#include "config.h" +#include "server.h" + +// plain / http +void make_listener(boost::asio::io_context& ioc, boost::asio::ip::address address, unsigned short port, Server& server); + +// ssl / https +void make_listener(boost::asio::io_context& ioc, boost::asio::ssl::context& ctx, boost::asio::ip::address address, unsigned short port, Server& server); -- cgit v1.2.3