Pie.host

Online Socket.IO tester

Connect to a Socket.IO server, emit events and see every event it sends back. Runs in your browser, no sign-up.

Chrome extension for ws:// and localhost
Server version
Disconnected0 emitted, 0 B0 received, 0 B

The server must allow requests from https://piehost.com (CORS). http://localhost works in most browsers.

Plain text

Connect to a server and emit an event. Every event sent and received shows up here.

How it works

Connect, emit, inspect

  1. 01

    Pick a version

    Choose your server's Socket.IO major version, then paste its URL and press Connect.

  2. 02

    Emit

    Enter an event name and a payload and press Emit. Turn on Send JSON as an object if your handler expects an object.

  3. 03

    Inspect

    Every event in both directions lands in the log with its name, payload and size. Filter, search, copy or export it.

About

What Socket.IO is

Socket.IO is a realtime library for Node.js with clients for browsers and other languages. It runs over WebSocket where it can and falls back to HTTP long-polling, and adds named events, rooms and automatic reconnection on top.

This tester is a Socket.IO client in your browser. Use it to check that your server accepts connections, see which events it emits, and try payloads before you write client code.

PieSocket

Need a WebSocket server? Skip running one.

PieSocket is our managed WebSocket service. The chat here runs on it: everyone on this page right now is in the same room.

  • Pub/sub channels with presence built in
  • Send from your server or straight from one client to another
  • Webhooks and JWT authentication
  • Client and server SDKs, plus a REST API
Realtime Chat Using PieSocket

Connecting to PieSocket...

FAQ

Socket.IO questions