From d02a29f0ff33279268e675aae0856f3f8cf9d939 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 10 Jan 2023 14:22:47 +0100 Subject: Configurable Websocket für HTTPS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- response.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'response.h') diff --git a/response.h b/response.h index ad3d2fc..46de9d9 100644 --- a/response.h +++ b/response.h @@ -13,4 +13,11 @@ namespace http = beast::http; // from typedef http::request request_type; typedef http::response response_type; +namespace response { + response_type generate_response(request_type& req, Server& server); + +// Get host:port e.g. reichwein.it:6543 +std::string get_websocket_address(request_type& req, Server& server); + +} // namespace -- cgit v1.2.3