Hakan Soyalp
Hakan Soyalp
please check iostream server example https://github.com/zaphoyd/websocketpp/blob/master/examples/iostream_server/iostream_server.cpp you can set your own [output stream](std::ofstream) but consider that "C++ iostream's don't support the idea of asynchronous"
you can get the full uri as string `con->get_uri()->str()` if you want the parsed query string alone you may use `boost::regex ex("(http|https|ws|wss)://([^/ :]+):?([^/ ]*)(/?[^ #?]*)\\x3f?([^ #]*)#?([^ ]*)"); boost::cmatch what; if...
https://docs.websocketpp.org/faq.html How do I cleanly exit an Asio transport based program The Asio transport based clients and servers use the Asio library's underlying io_service to handle asyncronous networking operations. The...