https://github.com/oluwakeye-john/socket.io-test-client
A client to test your socket.io implementation. Currently supports socket.io V1 & V2
https://github.com/oluwakeye-john/socket.io-test-client
react socket-io typescript websocket
Last synced: 5 months ago
JSON representation
A client to test your socket.io implementation. Currently supports socket.io V1 & V2
- Host: GitHub
- URL: https://github.com/oluwakeye-john/socket.io-test-client
- Owner: oluwakeye-john
- Created: 2021-01-20T19:01:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-02T21:11:20.000Z (almost 4 years ago)
- Last Synced: 2023-08-09T19:20:32.699Z (almost 3 years ago)
- Topics: react, socket-io, typescript, websocket
- Language: TypeScript
- Homepage: https://socket-test-client.netlify.app/
- Size: 493 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Socket IO Test Client
## Intro
Want to test your socket io implementation in your backend while your client isn't ready, then this is for you.
## Usage
- On your server, set the cors origin to a wildcard(\*)
```js
const io = require("socket.io")(http, {
cors: { origin: "*" },
});
```
- Run your server
- Visit [the test client](https://socket-client.netlify.app/)
- Connect to your server
- Emit and Listen ⚡