I created a CLI tool called wsnc in Go language as the title suggests. This one can be used as both a WebSocket client and a server. It looks like a WebSocket version of the netcat (nc) command.
I made a Japanese manual in addition to English ↓ https://github.com/tomatod/wsnc/blob/master/README_JP.md
It looks like this when used simply ↓ You can also broadcast on the server side ↓ You can add a header to the HTTP request of the upgrade request, specify the Close code when sending the Close message from the client, and so on, so I think it is convenient for verification.
If you have a Go development environment, please go to go get ↓
$ go get github.com/tomatod/wsnc
$ wsnc -h
...
For the time being, the executable file is zipped and distributed, so if you don't mind, please do not hesitate to contact us (Mac has not been verified yet ...) ↓ https://github.com/tomatod/wsnc/releases/tag/0.8.0
There seems to be a good tool made by Rust ↓ (Ku, I'm losing in the end, and I'm jealous of the small size of the binary)
Recommended Posts