https://github.com/selmanbaskaya/nodejs-socketio
A Node-Express server to test your Socket.io connections!
https://github.com/selmanbaskaya/nodejs-socketio
express nodejs socket-io socket-programming test
Last synced: 3 months ago
JSON representation
A Node-Express server to test your Socket.io connections!
- Host: GitHub
- URL: https://github.com/selmanbaskaya/nodejs-socketio
- Owner: selmanbaskaya
- Created: 2022-01-24T10:35:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-26T11:18:27.000Z (over 4 years ago)
- Last Synced: 2025-07-05T20:46:02.469Z (12 months ago)
- Topics: express, nodejs, socket-io, socket-programming, test
- Language: JavaScript
- Homepage: https://nodejs-socketioo.herokuapp.com/
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Node Express Server for Socket.io
### A Node-Express server to test your Socket.io connections!
****
## Usage
```vue
// connection and send user informations with emitting
const socket = io("https://nodejs-socketioo.herokuapp.com");
socket.on("connect", function () {
const userInfo = { name: "selman", surname: "baskaya", age: "23" };
socket.emit("userInfo", userInfo);
});
// catch the server emit
socket.on("userInfoResponse", (response) => {
console.log("Server's message: ", response);
});
```