An open API service indexing awesome lists of open source software.

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

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 ⚡