minor echo server updates
This commit is contained in:
1 parent
2fba5ca478
commit
3ec229c223
2 files changed
+2
-36
No files matched your search
@@ -33,8 +33,8 @@ using websocketpp::server;
|
||||
|
||||
class echo_server_handler : public server::handler {
|
||||
public:
|
||||
void on_message(connection_ptr connection,message_ptr msg) {
|
||||
connection->send(msg->get_payload(),msg->get_opcode());
|
||||
void on_message(connection_ptr con, message_ptr msg) {
|
||||
con->send(msg->get_payload(),msg->get_opcode());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user