websocketpp
websocketpp copied to clipboard
C++ websocket client/server library
This pull request adds persistent HTTP connection support as discussed in #513. The main change is the introduction of enable_persistent_connections in the configs and a small change in connection_impl.hpp, which...
Hi all, IMHO it is not possible to chmage the max. body size of any HTTP response. Currently it is only possible to set the request size via [set_max_http_body_size()](https://docs.websocketpp.org/classwebsocketpp_1_1connection.html#ad2a5b06ad88f5bcdd06fcabaae3323bc). I...
Code: ``` #include #include #include typedef websocketpp::server server; void on_message(websocketpp::connection_hdl, server::message_ptr msg) { std::cout get_payload()
I've been using this lib as a ws server for about 2 months without any problem until last night. Memory usage of my server skyrockets to 100% in 27 minutes...
gcc 4.4 doesn't have support for the `` c++11 header, and relies on boost bind. But boost bind now tells you to use `#include ` instead of ` #include `,...
Hi friends, interested in whether there is a step-by-step guide on how to build an [example](https://github.com/zaphoyd/websocketpp/blob/master/examples/echo_client/echo_client.cpp) for Visual Studio 2019? I tried to follow [this manual](https://docs.websocketpp.org/md_tutorials_utility_client_utility_client.html) - but nothing works...
Hi, I am using webscoketpp library to connect to a server running on Windows from a client running on Ubuntu. I noticed that some of the sends from client are...
Is there a way for the client to know that the internet on its side has got disconnected, so that it should stop sending data to the server and in...
Hello, When connection is lost, the client should try to reconnect to the server every few seconds. My current code looks like this. ``` MyClass::MyClass(std::string url) { try { //...