Go to the source code of this file.
Typedefs | |
typedef websocketpp::server< websocketpp::config::asio > | server |
Functions | |
bool | validate (server &s, connection_hdl hdl) |
int | main () |
Definition at line 6 of file subprotocol_server.cpp.
bool validate | ( | server & | s, |
connection_hdl | hdl | ||
) |
Definition at line 15 of file subprotocol_server.cpp.
References websocketpp::endpoint< connection, config >::get_con_from_hdl().
Referenced by main().
int main | ( | ) |
Definition at line 34 of file subprotocol_server.cpp.
References websocketpp::endpoint< connection, config >::set_validate_handler(), websocketpp::server< config >::start_accept(), validate(), and websocketpp::exception::what().