Ole Christian Eidheim

Results 316 comments of Ole Christian Eidheim

Please see my recursive example in https://github.com/eidheim/Simple-WebSocket-Server/issues/74

There are two small classes and a namespace outside of the SimpleWeb namespace. I'll move these inside SimpleWeb as well after a minute version release. This is actually being worked...

The main difference is that developers using Simple-WebSocket-Server does not need to know Boost.Asio. Still, it's very interesting what you have done.

Sadly, openssl is used for hashing and creating base64 strings. That is, openssl is needed for both WS and WSS.

OpenSSL is used internally in both the WS and WSS implementations; to read the Sec-WebSocket-Key header field, and to create the Sec-WebSocket-Accept header field, in the handshake.

Thank you. I'll have to look into this in more detail, but first some general comments/thoughts: * I do not wish to support a platform specific compiler like MSVC (though...

I completely forgot: you can supress the MSVC warnings from the headers by including them as system includes in your project.

I just added the possibility to add additional headers in https://github.com/eidheim/Simple-WebSocket-Server/commit/06ce3a0638589036dfed72e2b5e3f1c3077e035a. Here is an example: ```c++ #include "client_ws.hpp" #include "server_ws.hpp" using namespace std; using WsServer = SimpleWeb::SocketServer; using WsClient =...

I also cherry picked, and fixed, commit: https://github.com/eidheim/Simple-WebSocket-Server/pull/88/commits/e2a7650bed940013361b1f55c8ba18a1c4d45f2b. The fix can be seen in https://github.com/eidheim/Simple-WebSocket-Server/commit/383e8ed4c232ceb0520b18030e3dabe5d53b0a9f. The emoji in the commit message was unintentional!

Now that I have modernised the cmake files, I made an attempt to support MSVC in this commit that I just pushed to master: https://github.com/eidheim/Simple-WebSocket-Server/commit/3d18c3b1eb4c33549194af6f33d27d426fe16d3e