diff options
Diffstat (limited to 'response.h')
-rw-r--r-- | response.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -13,4 +13,11 @@ namespace http = beast::http; // from <boost/beast/http.hpp> typedef http::request<http::string_body> request_type; typedef http::response<http::string_body> 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 |