mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
updates examples for new on_close api
This commit is contained in:
@@ -36,7 +36,7 @@ void echo_client_handler::on_open(session_ptr s) {
|
||||
std::cout << "Successfully connected: " << s->get_resource() << std::endl;
|
||||
}
|
||||
|
||||
void echo_client_handler::on_close(session_ptr s,uint16_t status,const std::string &reason) {
|
||||
void echo_client_handler::on_close(session_ptr s) {
|
||||
std::cout << "client was disconnected" << std::endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user