#include <websocketpp/config/asio_no_tls_client.hpp>
#include <websocketpp/client.hpp>
#include <iostream>
Go to the source code of this file.
Typedefs | |
typedef websocketpp::client< websocketpp::config::asio_client > | client |
Functions | |
void | on_message (websocketpp::connection_hdl, client::message_ptr msg) |
int | main (int argc, char *argv[]) |
Definition at line 33 of file print_client.cpp.
void on_message | ( | websocketpp::connection_hdl | , |
client::message_ptr | msg | ||
) |
Definition at line 35 of file print_client.cpp.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 39 of file print_client.cpp.
References websocketpp::log::elevel::all, websocketpp::log::alevel::all, websocketpp::endpoint< connection, config >::clear_access_channels(), websocketpp::client< config >::connect(), websocketpp::log::alevel::frame_payload, websocketpp::client< config >::get_connection(), on_message(), websocketpp::endpoint< connection, config >::set_access_channels(), websocketpp::endpoint< connection, config >::set_error_channels(), websocketpp::endpoint< connection, config >::set_message_handler(), and websocketpp::exception::what().