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, 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::server< config >::start_accept().