48 m_endpoint.init_asio();
49 m_endpoint.start_perpetual();
51 m_thread = websocketpp::lib::make_shared<websocketpp::lib::thread>(&client::run, &m_endpoint);
55 websocketpp::lib::shared_ptr<websocketpp::lib::thread> m_thread;
64 std::cout <<
"Enter Command: ";
65 std::getline(std::cin, input);
67 if (input ==
"quit") {
69 }
else if (input ==
"help") {
71 <<
"\nCommand List:\n"
72 <<
"help: Display this help text\n"
73 <<
"quit: Exit the program\n"
76 std::cout <<
"Unrecognized Command" << std::endl;
Client endpoint role based on the given config.
void clear_access_channels(log::level channels)
Clear Access logging channels.
void clear_error_channels(log::level channels)
Clear Error logging channels.
websocketpp::client< websocketpp::config::asio_client > client
static level const all
Special aggregate value representing "all levels".
static level const all
Special aggregate value representing "all levels".