updates examples for new on_close api

This commit is contained in:
Peter Thorson
2011-10-26 11:07:02 -05:00
parent 1d7cb1bee3
commit 46df7bac65
4 changed files with 4 additions and 7 deletions

View File

@@ -39,7 +39,7 @@ void chat_client_handler::on_open(session_ptr s) {
std::cout << "Successfully connected" << std::endl;
}
void chat_client_handler::on_close(session_ptr s,uint16_t status,const std::string &reason) {
void chat_client_handler::on_close(session_ptr s) {
// not sure if anything needs to happen here either.
m_session = client_session_ptr();