Go to the source code of this file.
Typedefs | |
typedef websocketpp::server< websocketpp::config::asio > | server |
Functions | |
void | on_message (websocketpp::connection_hdl, server::message_ptr msg) |
int | main () |
Definition at line 6 of file print_server.cpp.
void on_message | ( | websocketpp::connection_hdl | , |
server::message_ptr | msg | ||
) |
Definition at line 8 of file print_server.cpp.
Referenced by main().
int main | ( | ) |
Definition at line 12 of file print_server.cpp.
References websocketpp::log::elevel::all, websocketpp::log::alevel::all, websocketpp::transport::asio::endpoint< config >::init_asio(), websocketpp::transport::asio::endpoint< config >::listen(), on_message(), websocketpp::transport::asio::endpoint< config >::run(), websocketpp::endpoint< connection, config >::set_access_channels(), websocketpp::endpoint< connection, config >::set_error_channels(), websocketpp::endpoint< connection, config >::set_message_handler(), and websocketpp::server< config >::start_accept().