removes all old style handler code

This commit is contained in:
Peter Thorson
2013-01-08 06:43:47 -06:00
parent 31cc4af4f4
commit a3acc4a1cf
8 changed files with 13 additions and 108 deletions

View File

@@ -6,7 +6,7 @@
typedef websocketpp::server<websocketpp::config::asio_tls> server;
class handler : public server::handler {
/*class handler : public server::handler {
std::string get_password() const {
return "test";
@@ -62,12 +62,10 @@ class handler : public server::handler {
void on_close(connection_ptr con) {
std::cout << "handler on_close" << std::endl;
}
};
};*/
int main() {
server::handler::ptr h(new handler());
server echo_server(h);
server echo_server;
echo_server.init_asio();