diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-12 15:50:15 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-12 15:50:15 +0100 |
commit | 2bb0d2ab46bf8104ab6e0b96fdefbeb20aa4c9e4 (patch) | |
tree | 7bd0e7104d687206422d2d882592cd70b35ea80b /http.h | |
parent | 7472e4e8e4897adc90f9e9030bb35ea07ded8b32 (diff) |
Move https.* to http.*
Diffstat (limited to 'http.h')
-rw-r--r-- | http.h | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -0,0 +1,22 @@ +#pragma once + +#include <boost/asio/steady_timer.hpp> +#include <boost/beast/version.hpp> + +#include <memory> +#include <string> +#include <unordered_map> + +#include <boost/asio/dispatch.hpp> +#include <boost/asio/strand.hpp> +#include <boost/beast/ssl.hpp> +#include <boost/asio/ssl.hpp> + +#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); |