diff --git a/Readme.md b/Readme.md index e0715e9d..3a7cea30 100644 --- a/Readme.md +++ b/Readme.md @@ -362,7 +362,6 @@ server.listen(3000); [socket.io-adapter](https://github.com/socketio/socket.io-adapter). ### Socket#to(room:String):Socket -### Socket#in(room:String):Socket Sets a modifier for a subsequent event emission that the event will only be _broadcasted_ to sockets that have joined the given `room`. @@ -376,6 +375,10 @@ server.listen(3000); }); ``` +### Socket#in(room:String):Socket + + Same as `Socket#to` + ### Socket#compress(v:Boolean):Socket Sets a modifier for a subsequent event emission that the event data will