Skip to content

A Develop Tool to Test WebSocket, Socket.IO, Stomp, Bayeux, HTTP, TCP, UDP, WebRTC, DNS API.

License

Notifications You must be signed in to change notification settings

plantain-00/ws-tool

Repository files navigation

ws-tool

Dependency Status devDependency Status Build Status: Windows Github CI type-coverage

A Develop Tool to Test WebSocket, Socket.IO, Stomp, Bayeux, HTTP, TCP, UDP, WebRTC API.

features

  • connect to a websocket, socket.io, stomp, bayeux or TCP server
  • send and show raw or formatted messages(string or binary) recieved from the server
  • send and show HTTP request or UDP message
  • save your form automatically, or as bookmarks, and you can reuse it later

install

Just use the online one: https://plantain-00.github.io/ws-tool/

Or host your own one by: git clone https://github.com/plantain-00/ws-tool-release.git . --depth=1

If you want to test HTTP, TCP and UDP feature, you should enable the nodejs proxy with npm i --production && node proxy.js, then open http://localhost:12345 in your browser.

Otherwise, use a static file server(eg nginx) to host the html/js/css files, then open http://localhost:{your_static_file_server_listen_port} in your browser.

docker

docker run -d -p 12345:12345 plantain/ws-tool