Skip to content

Instantly share code, notes, and snippets.

@421p
Created December 21, 2016 18:36
Show Gist options
  • Save 421p/d86303f00efa47f7e9fc5353fa727350 to your computer and use it in GitHub Desktop.
Save 421p/d86303f00efa47f7e9fc5353fa727350 to your computer and use it in GitHub Desktop.
client.set_tls_init_handler([](websocketpp::connection_hdl) {
return std::make_shared<boost::asio::ssl::context>(boost::asio::ssl::context::tlsv12_client);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment