At the moment we already have quite few websocket clients. Starting from browser addons, ending with console clients.
But I`m not satisfied with either of them. Browser addons requires installed and running browser. NodeJS-based clients requires node and tons of dependencies. But most importantly, none of them allows you to specify additional headers for request.
So I decided to write own console websocket client...
go get -u github.com/xakep666/wurl
vgo get -u github.com/xakep666/wurl
Pre-built binary releases available for:
- Linux: x86_64, x86, arm
- Mac OS (darwin): x86_64
- Windows: x86_64, x86
- Read text/binary messages from connection and display it
- Ability to set additional headers for connection upgrade request
- Correctly processes ping message (by default responses with pongs message)
- Can periodically send ping message to server (period can be set through flags)
- Document all packages
- Flag to show handshake response
- Store and load options from file
- Warning about binary messages before displaying (cURL-like)
- Ability to specify output
- Option to send message to server before reading
- Good description for all flags/commands
- Proxy support
- Bash autocomplete
- Package to rpm, deb, for Arch (after release)