We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51b97dc commit 4baa8b8Copy full SHA for 4baa8b8
sample/sample2-use-created-socket-io/index.html
@@ -7,7 +7,7 @@
7
});
8
9
function onClick() {
10
- socket.to().emit("save", { text: "Hello this is message" });
+ socket.emit("save", { text: "Hello this is message" });
11
}
12
</script>
13
<body>
0 commit comments