This package makes use of the websocketpp C++ library. It can conflict with another copy of websocketpp that is used in the RStudio IDE, leading to a crash (#7 and rstudio/rstudio#2838). To avoid the crash, the websocketpp
namespace has been renamed to ws_websocketpp
in our copy of it.
The stock version of websocketpp does not compile in minGW on Windows, because the version of libstdc++ does not define std::errc::error_canceled
. This is apparently due to a bug in GNU libstdc++ which is fixed in later versions of minGW. To make it compile, we used a workaround borrowed from this pull request on websocketpp which has not been merged because the project seems to be no longer maintained.
To update websocketpp:
std::errc::error_canceled
patch by running git cherry-pick 8167dac
.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.