socket.io-client-cpp
socket.io-client-cpp copied to clipboard
how to auth with token
I use h.connect("ws://localhost:3000?token=xxxx")
It seem does'nt work
Use query
std::map<std::string, std::string> query;
query["token"] = "xxxx");
h.connect(""ws://localhost:3000", query);