Telnet-like for WebSockets
Alternatively you can install using go:
go get github.com/lafikl/telsocket
There is also an homebrew tap from @pascaliske for installing telsocket on Mac OS X:
brew tap pascaliske/telsocket
brew install telsocket
telsocket -url <url to ws server>
Send custom headers
telsocket -url <url to ws server> -headers name1=value1,name2=value2
Enable ping
and/or close
messages
telsocket -url <url to ws server> -ping
telsocket -url <url to ws server> -close
telsocket -url <url to ws server> -close -ping
After the connection is established write ping or close and hit enter.
Set the maximal payload size per frame (usefull to debug multi-frame messages). Replace XXX with the new maximal payload size.
telsocket -url <url to ws server> -maxframesize=XXX