Simple WebSocket client for testing purposes
ws
is distributed as a single, statically-linked binary for a variety of target architectures.
Download the latest release from the the releases page.
For example (for macOS):
$ wget https://github.com/asnelzin/ws/releases/download/v0.2.0/ws-0.2.0-darwin-amd64
$ mv ws-0.2.0-darwin-amd64 /usr/local/bin/ws
$ chmod +x /usr/local/bin/ws
Usage:
ws [OPTIONS] URL
Application Options:
-H, --header= Custom HTTP header. You can specify as many as needed by repeating the flag.
-v, --version Print the version information and exit
Help Options:
-h, --help Show this help message
Apache © Alexander Nelzin