oluwakeye-john / socket.io-test-client

A client to test your socket.io implementation. Currently supports socket.io V1 & V2

Home Page:https://socket-test-client.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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(*)
    const io = require("socket.io")(http, {
      cors: { origin: "*" },
    });
  • Run your server
  • Visit the test client
  • Connect to your server
  • Emit and Listen ⚡

About

A client to test your socket.io implementation. Currently supports socket.io V1 & V2

https://socket-test-client.netlify.app/


Languages

Language:TypeScript 91.6%Language:HTML 6.9%Language:CSS 1.5%