Go 語言 WebSocket 除錯工具

Akagi201發表於2016-12-09

wsutil

Repo: https://github.com/Akagi201/wsutil

WebSocket utils to help debug WebSocket applications

Tools

  • client WebSocket client.
  • dump WebSocket client with echo test.
  • proxy simple single WebSocket proxy.

Run

  • ./client --ws=ws://echo.websocket.org/
  • ./client --ws=ws://localhost:8327
  • ./proxy --upstream=ws://localhost:8328
  • ./dump --listen=0.0.0.0:8328 --echo

相關文章