diff --git a/README.md b/README.md index 1fa20407..6ab3d73c 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,10 @@ server.setOnConnectionCallback( if (messageType == ix::WebSocket_MessageType_Open) { std::cerr << "New connection" << std::endl; + + // The uri the client did connect to. std::cerr << "Uri: " << openInfo.uri << std::endl; + std::cerr << "Headers:" << std::endl; for (auto it : openInfo.headers) { diff --git a/test/IXSocketTest.cpp b/test/IXSocketTest.cpp index 950de007..a024d999 100644 --- a/test/IXSocketTest.cpp +++ b/test/IXSocketTest.cpp @@ -18,6 +18,7 @@ #include "IXTest.h" #include "catch.hpp" +#include using namespace ix;