Skip to content

Commit 907acee

Browse files
committed
Revert "Update example with sub.subscribe('')"
This reverts commit ce6338b. SubSocket#subscribe is no longer in the API; instead, SubSocket#connect accepts another argument.
1 parent 70be9fc commit 907acee

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

example/socketio/server.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ socketioserver.sockets.on('connection', function(connection) {
2828
connection.send(msg);
2929
});
3030
sub.connect('chat');
31-
sub.subscribe('');
3231
pub.connect('chat');
3332
});
3433

0 commit comments

Comments
 (0)