R
R
RxApi
Search…
Events
Files in "./sockets/events.js"
1
module.exports = (socket, db) => {
2
3
socket.on('hello', data => {
4
console.log(`Hello ${data.name}`);
5
});
6
7
};
Copied!
Copy link