websocket

Move listen to run
This commit is contained in:
2024-08-19 23:05:54 +02:00
parent d67108542e
commit 37ee64d3e1
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -21,4 +21,5 @@ private:
void on_message(Server* s, websocketpp::connection_hdl hdl, Server::message_ptr msg);
Server server;
std::function<std::string(std::string)> p_on_message;
uint16_t p_port;
};