diff options
| author | Roland Reichwein <mail@reichwein.it> | 2023-01-10 14:22:47 +0100 | 
|---|---|---|
| committer | Roland Reichwein <mail@reichwein.it> | 2023-01-10 14:22:47 +0100 | 
| commit | d02a29f0ff33279268e675aae0856f3f8cf9d939 (patch) | |
| tree | bbb22aeb9c14488ef0871b34f0400259658d46f0 /response.h | |
| parent | 1191f07767583a9b19280a4f29cb1b0bd6799785 (diff) | |
Configurable Websocket für HTTPS
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 | 
