diff --git a/README.md b/README.md index 08252483..fd252f78 100755 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ h.connect("http://127.0.0.1:3000"); Emit a event ```C++ //emit event name only: -socket->emit("login"); +h.socket->emit("login"); //emit text h.socket()->emit("add user", username); //emit binary